Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:main:intel
intel-ipu6
368285d0401703c2243b2c122e2d80c49cb2ae83.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 368285d0401703c2243b2c122e2d80c49cb2ae83.patch of Package intel-ipu6
From 368285d0401703c2243b2c122e2d80c49cb2ae83 Mon Sep 17 00:00:00 2001 From: Hans de Goede <hdegoede@redhat.com> Date: Tue, 5 Mar 2024 21:44:24 +0100 Subject: [PATCH] ljca: s/strlcpy/strcpy/ kernels >= 6.8 no longer have strlcpy use strscpy instead, strscpy has been available since at least kernel 4.8 . Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- drivers/mfd/ljca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/ljca.c b/drivers/mfd/ljca.c index 9a416d3..ec03417 100644 --- a/drivers/mfd/ljca.c +++ b/drivers/mfd/ljca.c @@ -221,7 +221,7 @@ static int try_match_acpi_hid(struct acpi_device *child, char **hids, int hids_n int i; for (i = 0; i < hids_num; i++) { - strlcpy(ids[0].id, hids[i], sizeof(ids[0].id)); + strscpy(ids[0].id, hids[i], sizeof(ids[0].id)); if (!acpi_match_device_ids(child, ids)) return i; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor