Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754429AbbL3Esw (ORCPT ); Tue, 29 Dec 2015 23:48:52 -0500 Received: from mail-pa0-f66.google.com ([209.85.220.66]:36652 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754275AbbL3EsC (ORCPT ); Tue, 29 Dec 2015 23:48:02 -0500 Date: Wed, 30 Dec 2015 10:17:50 +0530 From: Sudip Mukherjee To: Joshua Clayton Cc: Andrew Morton , devel@driverdev.osuosl.org, Andreas Dilger , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Oleg Drokin , linux-mm@kvack.org, lustre-devel@lists.lustre.org Subject: Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE() Message-ID: <20151230044750.GA18675@sudip-pc> References: <1451193162-20057-1-git-send-email-stillcompiling@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1451193162-20057-1-git-send-email-stillcompiling@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 17 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/