]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: r8a66597-hcd: make read-only const arrays static
authorColin Ian King <colin.i.king@gmail.com>
Thu, 12 Sep 2024 13:23:45 +0000 (14:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Sep 2024 05:41:27 +0000 (07:41 +0200)
commit9ae0f262fc3f36c1f0b131c7017fbe75245a39df
tree6c7f4d1795148c4adf8de910ac92bb2aa1fefee2
parent7fa6b25dfb43dafc0e16510e2fcfd63634fc95c2
usb: r8a66597-hcd: make read-only const arrays static

Don't populate the read-only const arrays fifoaddr, fifosel and fifoctr
on the stack at run time, instead make them static.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240912132345.589397-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/r8a66597-hcd.c