diff options
author | Ping-Ke Shih <[email protected]> | 2023-04-14 16:22:28 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-04-20 15:32:18 +0300 |
commit | eaddda248483ff78c4d26f1bf420e5f2af436a74 (patch) | |
tree | 5ae8f72ad5093c345b98450de02897da9e270325 /drivers/usb/cdns3/cdns3-debug.h | |
parent | eb74bfcfa99415f1a65ce021b8ac2256b7ed50bc (diff) |
wifi: rtw89: mac: use regular int as return type of DLE buffer request
The function to request DLE (data link engine) buffer uses 'u16' as return
value that mixes error code, so change it to 'int' as regular error code.
Also, treat invalid register value (0xfff) as an error.
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions