summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core-base.c
diff options
context:
space:
mode:
authorQianqiang Liu <qianqiang.liu@163.com>2024-09-27 21:34:44 +0800
committerAndi Shyti <andi.shyti@kernel.org>2024-11-17 11:57:29 +0100
commita5089cd23b10c5c861bf5834170c75f9b4c36e08 (patch)
tree5b34755a4244ef64449a52d7de462ad5d5c636cc /drivers/i2c/i2c-core-base.c
parent63ae99f7e66ebdc483bc0cf029b46cb3b036dace (diff)
i2c: amd-asf: Fix uninitialized variables issue in amd_asf_process_target
The len variable is not initialized, which may cause the for loop to behave unexpectedly. Fixes: 9b25419ad397 ("i2c: amd-asf: Add routine to handle the ASF slave process") Signed-off-by: Qianqiang Liu <qianqiang.liu@163.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/i2c-core-base.c')
0 files changed, 0 insertions, 0 deletions