Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299231

Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE()

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE()
Date 2015-12-30 05:50 +0100
Message-ID <qLgRX-1Iu-3@gated-at.bofh.it> (permalink)
References <qKbUm-2xo-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Dec 26, 2015 at 09:12:42PM -0800, Joshua Clayton wrote:
> running sparse on drivers/staging/lustre results in dozens of warnings:
> include/linux/gfp.h:281:41: warning:
> odd constant _Bool cast (400000 becomes 1)
> 
> Use "!!" to explicitly convert the result to bool range.
> ---

Signed-off-by missing.

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE() Joshua Clayton <stillcompiling@gmail.com> - 2015-12-27 06:20 +0100
  Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE() Al Viro <viro@ZenIV.linux.org.uk> - 2015-12-27 06:50 +0100
    [PATCH v2] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE() Joshua Clayton <stillcompiling@gmail.com> - 2015-12-27 07:50 +0100
  Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE() Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-12-30 05:50 +0100
    Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE() Joshua Clayton <stillcompiling@gmail.com> - 2015-12-30 06:00 +0100

csiph-web