Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S974800AbdDXQi1 (ORCPT ); Mon, 24 Apr 2017 12:38:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51410 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S974701AbdDXQiZ (ORCPT ); Mon, 24 Apr 2017 12:38:25 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1381164DA8 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dledford@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 1381164DA8 Message-ID: <1493051902.3041.51.camel@redhat.com> Subject: Re: [PATCH v2 03/12] IB/ocrdma: Improve size determinations in ten functions From: Doug Ledford To: Leon Romanovsky Cc: SF Markus Elfring , Devesh Sharma , Hal Rosenstock , Sean Hefty , Selvin Xavier , Yuval Shaia , linux-rdma@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org Date: Mon, 24 Apr 2017 12:38:22 -0400 In-Reply-To: <20170423073311.GA14088@mtr-leonro.local> References: <1492720999.3041.18.camel@redhat.com> <86425035-7da8-d2b1-8544-d4f7540d50c6@users.sourceforge.net> <755f6c2c-03a2-7248-a5e3-9190d119cdaf@users.sourceforge.net> <20170423073311.GA14088@mtr-leonro.local> Organization: Red Hat, Inc. Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 24 Apr 2017 16:38:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1481 Lines: 42 On Sun, 2017-04-23 at 10:33 +0300, Leon Romanovsky wrote: > On Sat, Apr 22, 2017 at 04:36:19PM +0200, SF Markus Elfring wrote: > > > > From: Markus Elfring > > Date: Sat, 22 Apr 2017 13:26:49 +0200 > > > > Replace the specification of data types by pointer dereferences > > as the parameter for the operator "sizeof" to make the > > corresponding size > > determinations a bit safer according to the Linux coding style > > convention. > > > > Signed-off-by: Markus Elfring > > --- > > > > v2: > > Changes were rebased on source files from Linux next-20170421. > > These were recombined as requested by Doug Ledford. > > Hi Doug, > > I recommend you to be extra cautious with this blind automatic > conversions. It requires inspection that every size before and after > match each other. > > I already asked it and would be like to repeat it. Please DON'T take > any > patches from Markus, which are related to mlx4/mlx5/rxe without our > explicit > review of them. OK, the easiest way to make sure that only the things you want from his patches get through is to have you pull them into a branch and submit them yourself.  I'll only take the ones you submit to me, that way there is no confusion about whether or not you have checked them and approved them. -- Doug Ledford     GPG KeyID: B826A3330E572FDD     Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD