diff options
author | Li Zhijian <[email protected]> | 2024-01-22 13:39:41 +0800 |
---|---|---|
committer | Takashi Sakamoto <[email protected]> | 2024-03-11 10:38:13 +0900 |
commit | 4a2b06ca33763b363038d333274e212db6ff0de1 (patch) | |
tree | 3f3e891aa449327cb6f5d5491840f6c5e087052b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e8f897f4afef0031fe618a8e94127a0934896aba (diff) |
firewire: Kill unnecessary buf check in device_attribute.show
Per Documentation/filesystems/sysfs.rst:
> sysfs allocates a buffer of size (PAGE_SIZE) and passes it to the
> method.
So we can kill the unnecessary buf check safely.
Signed-off-by: Li Zhijian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions