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


Groups > linux.kernel > #1646558

Re: [PATCH 2/2] usbnet: Improve a size determination in usbnet_write_cmd_async()

From Oliver Neukum <oneukum@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] usbnet: Improve a size determination in usbnet_write_cmd_async()
Date 2017-05-22 09:20 +0200
Message-ID <tJPNf-2pM-3@gated-at.bofh.it> (permalink)
References <tJNLr-1aL-11@gated-at.bofh.it> <tJNV7-1ed-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Montag, den 22.05.2017, 07:10 +0200 schrieb SF Markus Elfring:
> From: Markus Elfring <elfring@users.sourceforge.net>
> 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 <elfring@users.sourceforge.net>
Acked-by: Oliver Neukum <oneukum@suse.com>

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


Thread

[PATCH 0/2] usbnet: Adjustments for usbnet_write_cmd_async() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-05-22 07:10 +0200
  [PATCH 2/2] usbnet: Improve a size determination in  usbnet_write_cmd_async() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-05-22 07:20 +0200
    Re: [PATCH 2/2] usbnet: Improve a size determination in  usbnet_write_cmd_async() Oliver Neukum <oneukum@suse.com> - 2017-05-22 09:20 +0200

csiph-web