aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-06-07 12:49:22 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-10 13:37:01 +0200
commitacf90b4d52e6965cbc3b115a68e0f063f703719c (patch)
treede333e559fef0052de1830169c5efae454e17e8f /include/linux/timerqueue.h
parent32bd78fc4948471be2853ba8b5229e4e1327e13e (diff)
tty/vt: consolemap: use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type). First, the type of the variable can change and one needs not change the former (unlike the latter). Second, the latter is error-prone due to (u16), (u16 *), and (u16 **) mixture here. Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions