diff options
| author | Uwe Kleine-König <[email protected]> | 2023-06-05 11:20:24 +0000 |
|---|---|---|
| committer | Li Yang <[email protected]> | 2023-06-08 22:56:26 +0000 |
| commit | e0d43ed6389733c518619ec5b0ad2052352e40a4 (patch) | |
| tree | 01db932b0a9b11e6261e76a031460d05722c4cf1 /scripts/clang-tools/gen_compile_commands.py | |
| parent | soc/fsl/qe: fix usb.c build errors (diff) | |
| download | kernel-e0d43ed6389733c518619ec5b0ad2052352e40a4.tar.gz kernel-e0d43ed6389733c518619ec5b0ad2052352e40a4.zip | |
bus: fsl-mc: fsl-mc-allocator: Initialize mc_bus_dev before use
Fixes a clang compiler warning:
>> drivers/bus/fsl-mc/fsl-mc-allocator.c:108:12: warning: variable 'mc_bus_dev' is uninitialized when used here [-Wuninitialized]
dev_err(&mc_bus_dev->dev, "resource mismatch\n");
Fixes: b3134039c5b3 ("bus: fsl-mc: fsl-mc-allocator: Improve error reporting")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
