[PATCH v2 0/2] Fix find_first_zero_bit() usage

2017-11-17 Thread Niklas Cassel
From: Niklas Cassel find_first_zero_bit()'s parameter 'size' is defined in bits, not in bytes. Calling find_first_zero_bit() with the wrong size unit will lead to insidious bugs. Fix all uses of find_first_zero_bit() called with sizeof() as size argument in drivers/pci.

[PATCH v2 0/2] Fix find_first_zero_bit() usage

2017-11-17 Thread Niklas Cassel
From: Niklas Cassel find_first_zero_bit()'s parameter 'size' is defined in bits, not in bytes. Calling find_first_zero_bit() with the wrong size unit will lead to insidious bugs. Fix all uses of find_first_zero_bit() called with sizeof() as size argument in drivers/pci. Niklas Cassel (2):