summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tango
diff options
context:
space:
mode:
authorXiongfeng Wang <xiongfeng.wang@linaro.org>2018-01-08 19:51:22 +0800
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:21 +0100
commit6670d4c2d9b7d352cbf90cd18c516bb6444acf34 (patch)
tree774ef2a1c3266b19e4be07829686c4f2129bae90 /arch/arm/mach-tango
parent6f794e3c5c8f8fdd3b5bb20d9ded894e685b5bbe (diff)
downloadlinux-6670d4c2d9b7d352cbf90cd18c516bb6444acf34.tar.gz
linux-6670d4c2d9b7d352cbf90cd18c516bb6444acf34.tar.bz2
linux-6670d4c2d9b7d352cbf90cd18c516bb6444acf34.zip
btrfs: use correct string length in DEV_INFO ioctl
gcc-8 reports: fs/btrfs/ioctl.c: In function 'btrfs_ioctl': ./include/linux/string.h:245:9: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] We need one less byte or call strlcpy() to make it a nul-terminated string. This is done on the next line anyway, but we want to avoid the warning. Signed-off-by: Xiongfeng Wang <xiongfeng.wang@linaro.org> Reviewed-by: David Sterba <dsterba@suse.com> [ update changelog ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'arch/arm/mach-tango')
0 files changed, 0 insertions, 0 deletions