+ lib-dont-depend-on-linux-headers-being-installed.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: lib/gen_crc64table.c: don't depend on linux headers being installed
has been added to the -mm tree.  Its filename is
     lib-dont-depend-on-linux-headers-being-installed.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/lib-dont-depend-on-linux-headers-being-installed.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/lib-dont-depend-on-linux-headers-being-installed.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: NeilBrown <neil@xxxxxxxxxx>
Subject: lib/gen_crc64table.c: don't depend on linux headers being installed

gen_crc64table requires linux include files to be installed in
/usr/include/linux.  This is a new requrement so hosts that could
previously build the kernel, now cannot.

gen_crc64table makes this requirement by including <linux/swab.h>, but
nothing from that header is actually used.

So remove the #include, so that the linux headers no longer need to be
installed.

Link: http://lkml.kernel.org/r/87y3899gzi.fsf@xxxxxxxxxxxxxxxxxxxxxxxx
Fixes: feba04fd2cf8 ("lib: add crc64 calculation routines")
Signed-off-by: NeilBrown <neil@xxxxxxxxxx>
Acked-by: Coly Li <colyli@xxxxxxx>
Cc: <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/lib/gen_crc64table.c~lib-dont-depend-on-linux-headers-being-installed
+++ a/lib/gen_crc64table.c
@@ -16,8 +16,6 @@
 #include <inttypes.h>
 #include <stdio.h>
 
-#include <linux/swab.h>
-
 #define CRC64_ECMA182_POLY 0x42F0E1EBA9EA3693ULL
 
 static uint64_t crc64_table[256] = {0};
_

Patches currently in -mm which might be from neil@xxxxxxxxxx are

lib-dont-depend-on-linux-headers-being-installed.patch




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux