mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 10:56:07 +07:00
cxacru: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
aafcd2f7d6
commit
3b216d186c
@ -820,7 +820,7 @@ static void cxacru_poll_status(struct work_struct *work)
|
||||
}
|
||||
|
||||
static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw,
|
||||
u8 code1, u8 code2, u32 addr, u8 *data, int size)
|
||||
u8 code1, u8 code2, u32 addr, const u8 *data, int size)
|
||||
{
|
||||
int ret;
|
||||
u8 *buf;
|
||||
|
Loading…
Reference in New Issue
Block a user