ipack: Improve a size determination in ipack_bus_register()
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:
Samuel Iglesias Gonsálvez <siglesias@igalia.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment