aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorErick Archer <[email protected]>2024-06-06 19:21:06 +0200
committerRafael J. Wysocki <[email protected]>2024-06-07 20:59:33 +0200
commit1007d2c5d77d2eab9dc2ba47f7de00a53d0bab73 (patch)
treefe0ac6f36b4a7c605b33292073aec4c259aae64a /lib/test_fortify/write_overflow-strncpy-src.c
parenta31a0a3e90b442c1a414be24b062e27624a40a8e (diff)
thermal: int3400: Use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). This patch has no effect on runtime behavior. Signed-off-by: Erick Archer <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions