+ lib-decompress_inflatec-include-appropriate-header-file.patch added to -mm tree
[email protected]
maintainerSubject: + lib-decompress_inflatec-include-appropriate-header-file.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 25 Feb 2014 12:26:40 -0800
The patch titled
Subject: lib/decompress_inflate.c: include appropriate header file
has been added to the -mm tree. Its filename is
lib-decompress_inflatec-include-appropriate-header-file.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/lib-decompress_inflatec-include-appropriate-header-file.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/lib-decompress_inflatec-include-appropriate-header-file.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/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Rashika Kheria <[email protected]>
Subject: lib/decompress_inflate.c: include appropriate header file
Include appropriate header file include/linux/decompress/inflate.h in lib/decompress_inflate.c because it has prototype declaration of function defined in lib/decompress_inflate.c.
Also, fix the guard around the header file include/linux/decompress/inflate.h to use a more unique guard symbol. This avoids conflict with the INFLATE_H defined by zlib_inflate/inflate.h.
This eliminates the following warning in lib/decompress_inflate.c:lib/decompress_inflate.c:35:17: warning: no previous prototype for `gunzip' [-Wmissing-prototypes]
---
include/linux/decompress/inflate.h | 4 ++-- lib/decompress_inflate.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
include/linux/decompress/inflate.h renamed from include/linux/decompress/inflate.h~lib-decompress_inflatec-include-appropriate-header-file +2 -2
@@ -1,5 +1,5 @@ -#ifndef INFLATE_H -#define INFLATE_H +#ifndef LINUX_DECOMPRESS_INFLATE_H +#define LINUX_DECOMPRESS_INFLATE_H int gunzip(unsigned char *inbuf, int len, int(*fill)(void*, unsigned int),
lib/decompress_inflate.c renamed from lib/decompress_inflate.c~lib-decompress_inflatec-include-appropriate-header-file +1 -0
@@ -19,6 +19,7 @@#include "zlib_inflate/inflate.h" #include "zlib_inflate/infutil.h" +#include <linux/decompress/inflate.h> #endif /* STATIC */
_
Patches currently in -mm which might be from [email protected] are
mm-compactionc-mark-function-as-static.patch mm-memoryc-mark-functions-as-static.patch mm-mmapc-mark-function-as-static.patch mm-process_vm_accessc-mark-function-as-static.patch mm-process_vm_accessc-mark-function-as-static-fix.patch mm-page_cgroupc-mark-functions-as-static.patch mm-nobootmemc-mark-function-as-static.patch include-linux-mmh-remove-ifdef-condition.patch include-linux-syscallsh-add-sys32_quotactl-prototype.patch include-linux-syscallsh-add-sys32_quotactl-prototype-fix.patch lib-clz_ctzc-add-prototype-declarations-in-lib-clz_ctzc.patch lib-decompress_inflatec-include-appropriate-header-file.patch fs-reiserfs-move-prototype-declaration-to-header-file.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype-fix.patch linux-next.patch