Re: [PATCH v5 2/7] usb: dwc3: dwc3-octeon: Use _ULL bitfields defines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 31, 2023, Ladislav Michl wrote:
> From: Ladislav Michl <ladis@xxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://urldefense.com/v3/__https://lore.kernel.org/oe-kbuild-all/202307260537.MROrhVNM-lkp@xxxxxxxxx/__;!!A4F2R9G_pg!bRAo7p44EQ5aHcAiBbTC-iYlO5IygKxZRV6HRGojsnNL0q_IRd7VyOnuC5SwtQBM2Dg_1O9NEeEhStq16Eo1OcYm1A$ 
> ---
>  CHANGES:
>  -v5: new patch
> 
>  drivers/usb/dwc3/dwc3-octeon.c | 78 +++++++++++++++++-----------------
>  1 file changed, 39 insertions(+), 39 deletions(-)
> 

Acked-by: Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx>

Thanks,
Thinh




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux