OSDN Git Service

usb: dwc3: dwc3-octeon: Use _ULL bitfields defines
authorLadislav Michl <ladis@linux-mips.org>
Mon, 31 Jul 2023 09:31:21 +0000 (11:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2023 12:52:15 +0000 (14:52 +0200)
commit417840663ab858bafb3a0d6d86e73a5db506202a
tree74b328f195b048c0043a6069d884d05795a02153
parent976f82e8aa3cfe557ee22a313bf48f418695bedf
usb: dwc3: dwc3-octeon: Use _ULL bitfields defines

While driver is intended to run on 64bit machines, it is compile time
tested for 32bit targets as well. Here shift count overflow is reported
for bits greater than 31, so use _ULL versions of BIT and GENMASK macros
to silence these warnings.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307260537.MROrhVNM-lkp@intel.com/
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/ZMd/aa2ncz6tJGNU@lenoch
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-octeon.c