aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorYang Ruibin <[email protected]>2024-08-21 04:39:08 -0400
committerJonathan Cameron <[email protected]>2024-08-21 21:32:52 +0100
commitc4b43d8336e52dce6d124e428aa3b71703e62647 (patch)
tree8a11a4b23041248545a16cb62af761c48b7bab7f /lib/test_fortify/write_overflow-strncpy-src.c
parentd35099d3c60c8a60de2cab909040c35e255cf474 (diff)
drivers:iio:Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
The debugfs_create_dir() function returns error pointers. It never returns NULL. So use IS_ERR() to check it. Signed-off-by: Yang Ruibin <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions