Re: [PATCH] ublk_drv: fix double shift bug

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

 



On Tue, 26 Jul 2022 17:12:23 +0300, Dan Carpenter wrote:
> The test/clear_bit() functions take a bit number, but this code is
> passing as shifted value.  It's the equivalent of saying BIT(BIT(0))
> instead of just BIT(0).
> 
> This doesn't affect runtime because numbers are small and it's done
> consistently.
> 
> [...]

Applied, thanks!

[1/1] ublk_drv: fix double shift bug
      commit: 8d9fdb6011b4d413271eba3a62e10f89efecc419

Best regards,
-- 
Jens Axboe





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux