Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751468AbaLEWf4 (ORCPT ); Fri, 5 Dec 2014 17:35:56 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:54246 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751051AbaLEWfy (ORCPT ); Fri, 5 Dec 2014 17:35:54 -0500 Date: Fri, 5 Dec 2014 14:35:48 -0800 From: Tristan Lelong To: Joe Perches Cc: oleg.drokin@intel.com, andreas.dilger@intel.com, gregkh@linuxfoundation.org, askb23@gmail.com, john.hammond@intel.com, gdonald@gmail.com, anhlq2110@gmail.com, fabio.falzoi84@gmail.com, oort10@gmail.com, agimenez@sysvalve.es, rupran@einserver.de, surya.seetharaman9@gmail.com, Julia.Lawall@lip6.fr, a.terekhov@gmail.com, liang.zhen@intel.com, vthakkar1994@gmail.com, amk@cray.com, srikrishanmalik@gmail.com, rd@radekdostal.com, bergwolf@gmail.com, dan.carpenter@oracle.com, paul.gortmaker@windriver.com, tapaswenipathak@gmail.com, email@christophjaeger.info, uja.ornl@gmail.com, brilliantov@inbox.ru, dmitry.eremin@intel.com, HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: lustre: fix sparse warning on LPROC_SEQ_FOPS macros Message-ID: <20141205223548.GA5698@localhost.localdomain> References: <1417766627-5232-1-git-send-email-tristan@lelong.xyz> <1417768091.2721.47.camel@perches.com> <20141205083741.GA5570@dunderer> <1417769047.2721.49.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1417769047.2721.49.camel@perches.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 05, 2014 at 12:44:07AM -0800, Joe Perches wrote: > On Fri, 2014-12-05 at 00:37 -0800, Tristan Lelong wrote: > > On Fri, Dec 05, 2014 at 12:28:11AM -0800, Joe Perches wrote: > > > On Fri, 2014-12-05 at 00:03 -0800, Tristan Lelong wrote: > [] > > > > diff --git a/drivers/staging/lustre/lustre/fld/lproc_fld.c b/drivers/staging/lustre/lustre/fld/lproc_fld.c > [] > > > > + char name[80]; > [] > > > Why 80? Is there no #define for this length? > > > > > No, there is no define. > > > > I thought about adding one, but several other files and structure > > members in the lustre sources are using this specific value, and it > > seemed like a modification to do in another patch. > > > > Let me know if you feel I should do it in a patch serie. > > No worries if it's not a new number. > > It'd be nice if you would submit a new > patch with a #define and a conversion > to use the #define one day. > > No worries, I'll be happy to submit a patch to fix this soon. Thanks -- 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/