diff options
author | Uwe Kleine-König <[email protected]> | 2023-06-05 13:20:24 +0200 |
---|---|---|
committer | Li Yang <[email protected]> | 2023-06-08 17:56:26 -0500 |
commit | e0d43ed6389733c518619ec5b0ad2052352e40a4 (patch) | |
tree | 01db932b0a9b11e6261e76a031460d05722c4cf1 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 (diff) |
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 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions