aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorAlexey Kodanev <[email protected]>2022-12-27 20:04:15 +0300
committerAlex Deucher <[email protected]>2023-01-05 11:42:21 -0500
commitf8e12e770e8049917f82387033b3cf44bc43b915 (patch)
treef9ace194dbf13a0b54d745332d94614996ede62a /lib/test_fortify/write_overflow-strlcpy-src.c
parent4a1c9a444b5e0f276f43f77e1723088bbedb1687 (diff)
drm/amd/display: drop unnecessary NULL checks in debugfs
pipe_ctx pointer cannot be NULL when getting the address of an element of the pipe_ctx array. Moreover, the MAX_PIPES is defined as 6, so pipe_ctx is not NULL after the loop either. Detected using the static analysis tool - Svace. Signed-off-by: Alexey Kodanev <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions