aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-05-22 18:48:31 +0200
committerSebastian Reichel <[email protected]>2024-05-27 18:47:11 +0200
commitebacfa1f09c14b2bc5cb02c1a518e29edea1f476 (patch)
tree049587cafb7e5abaf2b6ae2c24b31364647a2800 /lib/test_fortify/write_overflow-strncpy-src.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
power: supply: Drop explicit initialization of struct i2c_device_id::driver_data to 0
These drivers don't use the driver_data member of struct i2c_device_id, so don't explicitly initialize this member. This prepares putting driver_data in an anonymous union which requires either no initialization or named designators. But it's also a nice cleanup on its own. While add it, also remove commas after the sentinel entries. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions