Hi all,
After merging the usb tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
drivers/usb/typec/class.c: In function 'typec_partner_set_pd_revision':
drivers/usb/typec/class.c:763:6: warning: unused variable 'ret' [-Wunused-variable]
763 | int ret;
| ^~~
Introduced by commit
29b01295a829 ("usb: typec: Add typec_partner_set_pd_revision")
--
Cheers,
Stephen Rothwell
Hi,
On Wed, Feb 03, 2021 at 04:13:00PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the usb tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/usb/typec/class.c: In function 'typec_partner_set_pd_revision':
> drivers/usb/typec/class.c:763:6: warning: unused variable 'ret' [-Wunused-variable]
> 763 | int ret;
> | ^~~
>
> Introduced by commit
>
> 29b01295a829 ("usb: typec: Add typec_partner_set_pd_revision")
>
Will be fixed by https://lore.kernel.org/r/[email protected],
already in Greg's usb-testing.
Thanks Kyle for the quick fix yesterday.
Benson
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
[email protected]
Chromium OS Project
[email protected]