Received: by 10.223.176.5 with SMTP id f5csp409452wra; Thu, 1 Feb 2018 23:19:02 -0800 (PST) X-Google-Smtp-Source: AH8x226YhAZohM1K5brZ53nfCuk4nvk7FGVMbjHaAOHEOBXUzNAlpdvsPR538+gLBougreJNXXyZ X-Received: by 10.101.90.202 with SMTP id d10mr30474197pgt.366.1517555941947; Thu, 01 Feb 2018 23:19:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517555941; cv=none; d=google.com; s=arc-20160816; b=dgGz2Z9aqUr/DE0MKVzjLItpqBGiKtrlqUKgswITN/KyPeY/naWBvI7QHTCLEPtY41 LVmi2rQZ8y2m/7nWhtSfVKHSQO/UcWXIRLnz2CS+TvHDbG/tZi2644zO2yO8dg3d6Lz1 kI+aQueN9HBSXLZyco6byA/8fZoxbBjD4quPfXgkqIk20mJyo6Wd4hOTaZGoYu1w4Tqs zBRHnRnsqVPTZ2lbyRhVwNp2kv3UxCPQY6qFdo1/KXpvYUkw697jVPLGVmj0LJPbsg5d +qmyjE38ljIYaK8/mAiWuM886ZDP7Quso0Pfmq2RdtkrwQqbXWmfekehk6sRTp1G7+gp 4lmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=y3ZEhiGWTMEfQGbVR3IBo+g+ZNBmxOw4it7/N5QAa3U=; b=SPFYlunLKZ0zmW8b7yyV7UwIapi7sEELr8qgQl7OkdAxA3DKUQQUyFWOjxP054ak33 MjbyzX2QOiX/qYplCDQ5MWDWUVBVS4sfUn6O+wI9nXfg4q45RO7GyXCGOUQ2eXMWvesE gwOPqYwXcJvE0mqIg1Vdu4LoCF9GYbmJgEznOiBBYrtwoJuk/61M8mo79E2JuYVxqswQ tyqI7WEtEMMndBjTxRxWBVRo6dxRYurR/8xliJjqFT1cjYbRku45s1pykhbm+ojZ3UjD k/1yc1UR4GibG6yYm+TmEs6TwaPgVY+xAaEwpMoeF08NWceusn5PfgK19Ng2exNMVU36 5MJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si1263490plo.446.2018.02.01.23.18.46; Thu, 01 Feb 2018 23:19:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751514AbeBBHRp (ORCPT + 99 others); Fri, 2 Feb 2018 02:17:45 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:38536 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbeBBHRi (ORCPT ); Fri, 2 Feb 2018 02:17:38 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 7C849EAF; Fri, 2 Feb 2018 07:17:37 +0000 (UTC) Date: Fri, 2 Feb 2018 08:17:35 +0100 From: "gregkh@linuxfoundation.org" To: Bart Van Assche Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jaegeuk@kernel.org" , Stanislav Nijnikov , Alex Lemberg Subject: Re: [PATCH v4 02/10] ufs: sysfs: device descriptor Message-ID: <20180202071735.GC9314@kroah.com> References: <1517501746-19075-1-git-send-email-stanislav.nijnikov@wdc.com> <1517501746-19075-3-git-send-email-stanislav.nijnikov@wdc.com> <1517531145.2746.26.camel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517531145.2746.26.camel@wdc.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 02, 2018 at 12:25:46AM +0000, Bart Van Assche wrote: > On Thu, 2018-02-01 at 18:15 +0200, Stanislav Nijnikov wrote: > > +enum ufs_desc_param_size { > > + UFS_PARAM_BYTE_SIZE = 1, > > + UFS_PARAM_WORD_SIZE = 2, > > + UFS_PARAM_DWORD_SIZE = 4, > > + UFS_PARAM_QWORD_SIZE = 8, > > +}; > > Please do not copy bad naming choices from the Windows kernel into the Linux > kernel. Using names like WORD / DWORD / QWORD is much less readable than using > the numeric constants 2, 4, 8. Hence my proposal to leave out the above enum > completely. Are you sure those do not come from the spec itself? It's been a while since I last read it, but for some reason I remember those types of names being in there. But I might be confusing specs here. thanks, greg k-h