Re: older gccs and case labels producing integer constants

From: Borislav Petkov
Date: Tue Apr 05 2022 - 19:03:50 EST


On Tue, Apr 05, 2022 at 02:53:18PM +0200, Richard Biener wrote:
> Indeed. Simply cast vendor/product to (unsigned) in the USB_ID
> macro to avoid arithmetic shifts.

Yeah, Boris is going to turn on his editor and do patches... :-)

Thx guys!

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette