aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorGuodong Liu <[email protected]>2023-01-18 14:20:35 +0800
committerLinus Walleij <[email protected]>2023-01-26 14:39:35 +0100
commita298c70a10c604a6b3df5a0aa56597b705ba0f6b (patch)
tree328d27ee402400370522958d1b9ce57ee26be3dd /drivers/usb/cdns3/cdns3-debug.h
parent9bd73ce087354628983bc4392ba6894d6b6c15a7 (diff)
pinctrl: mediatek: Initialize variable pullen and pullup to zero
Coverity spotted that pullen and pullup is not initialized to zero in mtk_pctrl_show_one_pin. The uninitialized variable pullen is used in assignment statement "rsel = pullen;" in mtk_pctrl_show_one_pin, and Uninitialized variable pullup is used when calling scnprintf. Fix this coverity by initializing pullen and pullup 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