From: Niklas Cassel <[email protected]>
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):
PCI: designware-ep: Fix find_first_zero_bit() usage
PCI: endpoint: Fix find_first_zero_bit() usage
drivers/pci/dwc/pcie-designware-ep.c | 6 ++----
drivers/pci/endpoint/pci-ep-cfs.c | 3 +--
2 files changed, 3 insertions(+), 6 deletions(-)
--
2.14.2
From 1584366130848435814@xxx Sat Nov 18 01:41:26 +0000 2017
X-GM-THRID: 1584366130848435814
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread