]> git.baikalelectronics.ru Git - kernel.git/commit
iio: change strncpy+truncation to strlcpy
authorDominique Martinet <asmadeus@codewreck.org>
Fri, 13 Jul 2018 01:25:34 +0000 (03:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Jul 2018 10:38:06 +0000 (11:38 +0100)
commit6b9351d4553583e7cab7cb202c1ebb31da2232a3
treedbd7b46f4e4235596931d3537ff9572376f7fea5
parent9e3c87137908f00a2084bf70833eba95fb9a369a
iio: change strncpy+truncation to strlcpy

Generated by scripts/coccinelle/misc/strncpy_truncation.cocci

Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/common/st_sensors/st_sensors_core.c
drivers/iio/pressure/st_pressure_i2c.c