]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI/AER: Use for_each_set_bit() to simplify code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 27 Aug 2019 15:18:22 +0000 (18:18 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 18 Oct 2019 22:05:43 +0000 (17:05 -0500)
commit6a8c97345a15f9c60ff6c6ac1629a3e9ec140320
tree46d2ffbea4222196335b1db11db1c14b45073132
parent6458b438ebc12bec732290bf80c53c4eeeaed1c0
PCI/AER: Use for_each_set_bit() to simplify code

Simplify error counting code by using for_each_set_bit() library function.

Link: https://lore.kernel.org/r/20190827151823.75312-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
drivers/pci/pcie/aer.c