[PATCH] i3c: master: require dests for read CCC commands
Mukesh Savaliya
mukesh.savaliya at oss.qualcomm.com
Thu Jul 23 05:37:08 PDT 2026
On 7/23/2026 2:53 PM, Adrian Ng Ho Yin wrote:
> Read CCC commands (rnw set) always need a destination array to store
> payload data. Extend the existing direct-CCC validation so cmd->dests
> is guaranteed non-NULL when cmd->rnw is set.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <error27 at gmail.com>
> Closes: https://lore.kernel.org/r/202607222347.TXH6r6ie-lkp@intel.com/
> Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng at altera.com>
> ---
> drivers/i3c/master.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Acked-by: Mukesh Kumar Savaliya <mukesh.savaliya at oss.qualcomm.com>
More information about the linux-i3c
mailing list