Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932388AbcLHThM (ORCPT ); Thu, 8 Dec 2016 14:37:12 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:25181 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbcLHThL (ORCPT ); Thu, 8 Dec 2016 14:37:11 -0500 Date: Thu, 8 Dec 2016 22:36:21 +0300 From: Dan Carpenter 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 Subject: Re: [PATCH] staging: lustre: Fix variable type declaration after refactoring Message-ID: <20161208193620.GX8176@mwanda> References: <20161208160759.19649-1-lambert.quentin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161208160759.19649-1-lambert.quentin@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 482 Lines: 16 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