2021-02-03 05:14:42

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the usb tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-02-03 07:08:47

by Benson Leung

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the usb tree

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]


Attachments:
(No filename) (821.00 B)
signature.asc (235.00 B)
Download all attachments