Skip to contentSkip to conversation

linux-next: build warning after merge of the usb tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 3, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi,

Quoted 5 lines · Stephen Rothwell

Hi all,

After merging the usb tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

Quoted 9 lines

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

Signature · 7 lines
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
[email protected]
Chromium OS Project
[email protected]