aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorGuodong Liu <[email protected]>2023-01-18 14:20:36 +0800
committerLinus Walleij <[email protected]>2023-01-26 14:39:35 +0100
commit2e34f82ba214134ecf590fbe0cdbd87401645a8a (patch)
treea9301114ae5b456a2a41a5c08eac3416d8740038 /drivers/usb/cdns3/cdns3-debug.h
parenta298c70a10c604a6b3df5a0aa56597b705ba0f6b (diff)
pinctrl: mediatek: Initialize variable *buf to zero
Coverity spotted that *buf is not initialized to zero in mtk_pctrl_dbg_show. Using uninitialized variable *buf as argument to %s when calling seq_printf. Fix this coverity by initializing *buf as zero. Fixes: 184d8e13f9b1 ("pinctrl: mediatek: Add support for pin configuration dump via debugfs.") Signed-off-by: Guodong Liu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions