diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-26 15:43:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-27 12:23:18 +0200 |
commit | c92bbbfe21efaa4344871bd2fb5a7649c0b07b84 (patch) | |
tree | b68006ef44d164057afa81950ccfde714a9a3825 /drivers/memory | |
parent | 3a96e97ab4e835078e6f27b7e1c0947814df3841 (diff) |
vt: keyboard: treat kbd_table as an array all the time.
The keyboard.c code seems to like to treat the kbd_table as both an
array, and as a base to do some pointer math off of. As they really are
the same thing, and compilers are smart enough not to make a difference
anymore, just be explicit and always use this as an array to make the
code more obvious for all to read.
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jordy Zomer <jordy@pwning.systems>
Link: https://lore.kernel.org/r/20210726134322.2274919-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions