Skip to contentSkip to conversation

This patch fixes a warning message found by checkpatch.pl WARNING: suspect code indent for conditional statements

PATCH New Joseph Marrero 1 participant 1 message Nov 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 This patch fixes a warning message found by checkpatch.pl WARNING: suspect code indent for conditional statements

---
 drivers/staging/media/bcm2048/radio-bcm2048.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/bcm2048/radio-bcm2048.c +2 -2
index 19fcb1c..8fdf0ac 100644
@@ -999,8 +999,8 @@ static int bcm2048_set_fm_search_tune_mode(struct bcm2048_device *bdev,
 		timeout = BCM2048_AUTO_SEARCH_TIMEOUT;
 
 	if (!wait_for_completion_timeout(&bdev->compl,
-			msecs_to_jiffies(timeout)))
-			dev_err(&bdev->client->dev, "IRQ timeout.\n");
+		msecs_to_jiffies(timeout)))
+		dev_err(&bdev->client->dev, "IRQ timeout.\n");
 
 	if (value)
 		if (!bdev->scan_state)
Signature · 1 line
2.5.0