diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2023-11-17 13:09:24 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-11-17 15:55:35 +0100 |
commit | b4da37db3e2cfc1c60875b0c10cfc556d5342a3a (patch) | |
tree | 5d26921a8082b99e8ef1fae4c537ee6ea340fa59 /drivers/scsi/3w-xxxx.h | |
parent | 2aac0bf4ebc8e09941bb2a40c0ce725437d9a82c (diff) |
i3c: master: Fix build error
Fix build error caused by commit 2aac0bf4ebc8 ("i3c: Add fallback method
for GETMXDS CCC") which incorrectly access the "struct i3c_ccc_cmd_dest
dest" as pointer.
drivers/i3c/master.c: In function ‘i3c_master_getmxds_locked’:
drivers/i3c/master.c:1140:21: error: invalid type argument of ‘->’ (have ‘struct i3c_ccc_cmd_dest’)
1140 | dest->payload.len -= 3;
| ^~
Fixes: 2aac0bf4ebc8 ("i3c: Add fallback method for GETMXDS CCC")
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20231117110924.634280-1-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.h')
0 files changed, 0 insertions, 0 deletions