Skip to content

coccinelle: change strncpy+truncation to strlcpy

Dominique Martinet cocci dri-devel kernel-janitors linux-block linux-gpio linux-iio linux-pm linux-scsi linux-wireless linuxppc-dev lkml netdev nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 33 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18coccinelle: change strncpy+truncation to strlcpyscripts/coccinelle/misc/strncpy_truncation.cocci+41 -025 replies
1/18coccinelle: change strncpy+truncation to strlcpy+0 -01 reply
2/18block/aoenet: change strncpy+truncation to strlcpydrivers/block/aoe/aoenet.c drivers/gpio/gpiolib.c+5 -103 replies
3/18drm_property: change strncpy+truncation to strlcpydrivers/gpu/drm/drm_property.c+2 -40 replies
4/18nouveau: change strncpy+truncation to strlcpydrivers/gpu/drm/nouveau/nvkm/core/firmware.c+1 -20 replies
5/18iio: change strncpy+truncation to strlcpydrivers/iio/common/st_sensors/st_sensors_core.c drivers/iio/pressure/st_pressure_i2c.c+2 -43 replies
6/18mptctl: change strncpy+truncation to strlcpydrivers/message/fusion/mptctl.c+2 -20 replies
7/18hisilicon: change strncpy+truncation to strlcpydrivers/net/ethernet/hisilicon/hns/hns_ethtool.c drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c+4 -100 replies
8/18myricom: change strncpy+truncation to strlcpydrivers/net/ethernet/myricom/myri10ge/myri10ge.c+1 -20 replies
9/18qlogic/qed: change strncpy+truncation to strlcpydrivers/net/ethernet/qlogic/qed/qed_debug.c+1 -20 replies
10/18brcmsmac: change strncpy+truncation to strlcpydrivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c+1 -21 reply
11/18wireless/ti: change strncpy+truncation to strlcpydrivers/net/wireless/ti/wl1251/acx.c drivers/net/wireless/ti/wl18xx/main.c drivers/net/wireless/ti/wlcore/boot.c+3 -165 replies
12/18test_power: change strncpy+truncation to strlcpydrivers/power/supply/test_power.c+1 -20 replies
13/18ibmvscsi: change strncpy+truncation to strlcpydrivers/scsi/ibmvscsi/ibmvscsi.c+2 -40 replies
14/18kdb_support: change strncpy+truncation to strlcpykernel/debug/kdb/kdb_support.c+1 -21 reply
15/18blktrace: change strncpy+truncation to strlcpykernel/trace/blktrace.c+1 -24 replies
16/18tools/accounting: change strncpy+truncation to strlcpytools/accounting/getdelays.c+1 -20 replies
17/18perf: change strncpy+truncation to strlcpytools/perf/util/bpf-loader.h tools/perf/util/util.c+2 -40 replies
18/18cpupower: change strncpy+truncation to strlcpytools/power/cpupower/bench/parse.c+1 -24 replies

Reviews trailers per patch

2 of 19 patches have a Reviewed-by or Acked-by.

PatchArend van SprielDaniel Thompson
1/18
1/18
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18A-b
11/18
12/18
13/18
14/18R-b
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread