mirror of
https://github.com/torvalds/linux.git
synced 2024-12-07 11:31:41 +00:00
9b00565abf
Fill priv->chip_name and priv->chip_vendor with strscpy instead of sprintf. This is just to prevent future bugs in case the name of a chip/vendor becomes longer than the size of chip_name/chip_vendor. Suggested-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/5fc9cc0e-eecb-8428-aeb1-f745791c0f16@gmail.com |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rtl8xxxu_8188f.c | ||
rtl8xxxu_8192c.c | ||
rtl8xxxu_8192e.c | ||
rtl8xxxu_8723a.c | ||
rtl8xxxu_8723b.c | ||
rtl8xxxu_core.c | ||
rtl8xxxu_regs.h | ||
rtl8xxxu.h |