]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: vt6656: Use ARRAY_SIZE instead of hardcoded size
authorOscar Carter <oscar.carter@gmx.com>
Wed, 18 Mar 2020 17:40:15 +0000 (18:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Mar 2020 14:13:41 +0000 (15:13 +0100)
commitcad144d6e5768f60161d971e6d280d2197fb2a9b
tree258476dd50bbed03d80bf8a229ce2c72ee4d66a0
parent028ba0db4d60a8ffc55d47820f14988bac2d3c67
staging: vt6656: Use ARRAY_SIZE instead of hardcoded size

Use ARRAY_SIZE to replace the hardcoded size so we will never have a
mismatch.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200318174015.7515-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c