Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719484

Re: [PATCH 2/2] ext4: Improve a size determination in two functions

Path csiph.com!goblin3!goblin.stu.neva.ru!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Theodore Ts'o <tytso@mit.edu>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] ext4: Improve a size determination in two functions
Date Thu, 24 Aug 2017 20:00:02 +0200
Message-ID <ui4Aa-1eO-19@gated-at.bofh.it> (permalink)
References <ugaql-NZ-3@gated-at.bofh.it> <ugaql-NZ-1@gated-at.bofh.it> <ugnxf-nG-7@gated-at.bofh.it>
X-Original-To sandeen@redhat.com
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=nuBvKlb4TDqA2BJndZaicn4iPQpdFuKhK8Dn5A2BAF8=; b=MClJIOWdvHs4iLRW2BonOu2cZIZXk+L/G12omz+wziMc2MezRwaC3ttUZy4ZDkbn/aU8vUe3dCgQTOsBeR6yY4yi21RGmb9FFNkcCVtP+NjP+y0GTQ90oWZw7w/woO6N3F6dYGJyQBPxuzAR5771azrURXa+xqUaSltZfVK0Mvw=;
Mail-Followup-To Theodore Ts'o <tytso@mit.edu>, sandeen@redhat.com, SF Markus Elfring <elfring@users.sourceforge.net>, linux-ext4@vger.kernel.org, Andreas Dilger <adilger.kernel@dilger.ca>, LKML <linux-kernel@vger.kernel.org>, kernel-janitors@vger.kernel.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170609 (1.8.3)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From tytso@thunk.org
X-Sa-Exim-Scanned No (on imap.thunk.org); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
X-Original-Cc SF Markus Elfring <elfring@users.sourceforge.net>, linux-ext4@vger.kernel.org, Andreas Dilger <adilger.kernel@dilger.ca>, LKML <linux-kernel@vger.kernel.org>, kernel-janitors@vger.kernel.org
X-Original-Date Thu, 24 Aug 2017 13:50:39 -0400
X-Original-Message-ID <20170824175039.jc6m6pjb5ar6lozm@thunk.org>
X-Original-References <ca49a6dc-f2ee-d427-5f16-052706277b38@users.sourceforge.net> <c1941b22-bdab-fccf-06e2-2f9fc50daec1@users.sourceforge.net> <0d7fe1c1-f1f4-3c2f-0e2a-4c8545947714@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1719484

Show key headers only | View raw


On Sat, Aug 19, 2017 at 08:49:20PM -0500, Eric Sandeen wrote:
> On 8/19/17 6:48 AM, SF Markus Elfring wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Sat, 19 Aug 2017 13:14:26 +0200
> > 
> > Replace the specification of data structures by pointer dereferences
> > as the parameter for the operator "sizeof" to make the corresponding size
> > determination a bit safer according to the Linux coding style convention.
> > 
> > This issue was detected by using the Coccinelle software.
> > 
> > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> 
> Looks good,
> 
> Reviewed-by: Eric Sandeen <sandeen@redhat.com>

Thanks, applied.

					- Ted

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] ext4: Improve a size determination in two functions SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-19 13:50 +0200
  Re: [PATCH 2/2] ext4: Improve a size determination in two functions Eric Sandeen <esandeen@redhat.com> - 2017-08-20 03:50 +0200
    Re: [PATCH 2/2] ext4: Improve a size determination in two functions Theodore Ts'o <tytso@mit.edu> - 2017-08-24 20:00 +0200

csiph-web