From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Thu, 08 Dec 2016 19:36:21 +0000 Subject: Re: [PATCH] staging: lustre: Fix variable type declaration after refactoring Message-Id: <20161208193620.GX8176@mwanda> List-Id: References: <20161208160759.19649-1-lambert.quentin@gmail.com> In-Reply-To: <20161208160759.19649-1-lambert.quentin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Quentin Lambert Cc: Oleg Drokin , Andreas Dilger , James Simmons , Greg Kroah-Hartman , lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On Thu, Dec 08, 2016 at 05:07:59PM +0100, Quentin Lambert wrote: > A recent clean-up declared och_flags as a int rather than fmode_t. This > lead to the following sparse warning: > > drivers/staging/lustre/lustre/llite/file.c:106:30: warning: restricted > fmode_t degrades to integer > > This patch fixes this issue. > > Fixes: 1200991234f7 ("staging: lustre: cleanup lustre_lib.h") 0a1200991234f7 Fixes hash is wrong. It should start with "0a". regards, dan carpenter