diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-22 17:22:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-06 15:21:45 +0200 |
| commit | b570b346ddd727c4b41743a6a2f49e7217c5317f (patch) | |
| tree | 26408a7c5add419df2193ce916ee9513af86a0cc /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 5195edb359855d9a6460f19b7c3915a8611fceed (diff) | |
usb: phy: twl6030: Fix incorrect type for ret
In the twl6030_usb_probe(), the variable ret is declared as
a u32 type. However, since ret may receive -ENODEV when accepting
the return value of omap_usb2_set_comparator().Therefore, its type
should be changed to int.
Fixes: 0e98de67bacba ("usb: otg: make twl6030_usb as a comparator driver to omap_usb2")
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Link: https://lore.kernel.org/r/20250822092224.30645-1-zhao.xichao@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
