summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-07-24 01:34:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 18:07:59 +0300
commita32418919dd5e863ce47db1bac9051a5364e44a0 (patch)
treea03a620909615abe4085fe3ba20843f4eacf27ae /drivers/tty/serial/Kconfig
parent52b52e91899bc5a76a77b42ec1bdf245aee0286e (diff)
downloadlinux-a32418919dd5e863ce47db1bac9051a5364e44a0.tar.xz
tty: Use the preferred form for passing the size of a structure type
Use the preferred form for passing the size of a structure type. The alternative form where the structure type is spelled out hurts readability and introduces an opportunity for a bug when the object type is changed but the corresponding object identifier to which the sizeof operator is applied is not. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Acked-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/b04dd8cdd67bd6ffde3fd12940aeef35fdb824a6.1595543280.git.gustavoars@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
0 files changed, 0 insertions, 0 deletions