summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/bw2.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-09-13 17:05:38 +0300
committerMark Brown <broonie@kernel.org>2022-09-13 17:05:38 +0300
commite2741d99420f2d961884649c1de6e19c9dace61f (patch)
treebf8f125584922381e0cb4746e437e15f251f3d9f /drivers/video/fbdev/bw2.c
parent26cc239f9e0167d710d2eb009aaa979c4c7a0859 (diff)
parent7e18e42e4b280c85b76967a9106a13ca61c16179 (diff)
downloadlinux-e2741d99420f2d961884649c1de6e19c9dace61f.tar.xz
ASoC: Merge tag 'v6.0-rc4' into asoc-6.1
Linux 6.0-rc4 so we can test on BeagleBone again.
Diffstat (limited to 'drivers/video/fbdev/bw2.c')
-rw-r--r--drivers/video/fbdev/bw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/bw2.c b/drivers/video/fbdev/bw2.c
index e7702fe1fe7d..6403ae07970d 100644
--- a/drivers/video/fbdev/bw2.c
+++ b/drivers/video/fbdev/bw2.c
@@ -182,7 +182,7 @@ static int bw2_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
static void bw2_init_fix(struct fb_info *info, int linebytes)
{
- strlcpy(info->fix.id, "bwtwo", sizeof(info->fix.id));
+ strscpy(info->fix.id, "bwtwo", sizeof(info->fix.id));
info->fix.type = FB_TYPE_PACKED_PIXELS;
info->fix.visual = FB_VISUAL_MONO01;