diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-08-20 09:31:24 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-08-20 09:31:24 +0300 |
commit | 68ebb7ce395c6d8ca99163911ec384853d4f88ad (patch) | |
tree | 63586d7b843ccfc4e906b8398784ed3ef1a0e9bc /lib/fault-inject.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-68ebb7ce395c6d8ca99163911ec384853d4f88ad.tar.xz |
PCI: spear: Use BUG_ON() instead of condition followed by BUG()
Use BUG_ON() instead of an if condition followed by BUG().
The semantic patch that makes this change is available in
scripts/coccinelle/misc/bugon.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions