summaryrefslogtreecommitdiffstats
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-05-15 11:08:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 16:59:06 +0200
commitff35eb23de9be50fbe3405f35244b5e82eadc5fa (patch)
tree4224f2af13bfeaa2a420f16394f18fad70b810aa /lib/hweight.c
parentdf2aa81a44a904c34473f0974d67c5b257163e86 (diff)
downloadlinux-stable-ff35eb23de9be50fbe3405f35244b5e82eadc5fa.tar.gz
linux-stable-ff35eb23de9be50fbe3405f35244b5e82eadc5fa.tar.bz2
linux-stable-ff35eb23de9be50fbe3405f35244b5e82eadc5fa.zip
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>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions