From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Mon, 22 May 2017 07:08:45 +0000 Subject: Re: [PATCH 2/2] usbnet: Improve a size determination in usbnet_write_cmd_async() Message-Id: <1495436925.11462.1.camel@suse.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring , linux-usb@vger.kernel.org, netdev@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, LKML Am Montag, den 22.05.2017, 07:10 +0200 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Mon, 22 May 2017 06:42:33 +0200 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according to the Linux coding style convention. > > Signed-off-by: Markus Elfring Acked-by: Oliver Neukum From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbdEVHKa (ORCPT ); Mon, 22 May 2017 03:10:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:46498 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752520AbdEVHK2 (ORCPT ); Mon, 22 May 2017 03:10:28 -0400 Message-ID: <1495436925.11462.1.camel@suse.com> Subject: Re: [PATCH 2/2] usbnet: Improve a size determination in usbnet_write_cmd_async() From: Oliver Neukum To: SF Markus Elfring , linux-usb@vger.kernel.org, netdev@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, LKML Date: Mon, 22 May 2017 09:08:45 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 22.05.2017, 07:10 +0200 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Mon, 22 May 2017 06:42:33 +0200 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according to the Linux coding style convention. > > Signed-off-by: Markus Elfring Acked-by: Oliver Neukum