diff options
author | Tülin İzer <tulinizer@gmail.com> | 2013-05-15 05:32:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-16 15:50:28 -0700 |
commit | 01c7b4ca6ee0f41b8cc2a77fa4e926c3c3003add (patch) | |
tree | 79fce8daf32a70a4e95fdfdc8dc5eed15a0decd3 /drivers/staging | |
parent | f84b075178b487ad26ed17300e1975a35d765b85 (diff) | |
download | talos-op-linux-01c7b4ca6ee0f41b8cc2a77fa4e926c3c3003add.tar.gz talos-op-linux-01c7b4ca6ee0f41b8cc2a77fa4e926c3c3003add.zip |
Staging: silicom: Fixed warning 'space prohibited before semicolon'.
This patch fixes warning 'space prohibited before semicolon' found by
checkpatch.pl in driver silicom.
Signed-off-by: Tülin İzer <tulinizer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/silicom/bpctl_mod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c index 5b7b149335e1..8c6504fd1837 100644 --- a/drivers/staging/silicom/bpctl_mod.c +++ b/drivers/staging/silicom/bpctl_mod.c @@ -165,7 +165,7 @@ static int bp_device_event(struct notifier_block *unused, memcpy(&cbuf, drvinfo.bus_info, 32); buf = &cbuf[0]; - while (*buf++ != ':') ; + while (*buf++ != ':'); for (i = 0; i < 10; i++, buf++) { if (*buf == ':') break; @@ -2154,7 +2154,7 @@ static void bp75_release_phy(bpctl_dev_t *pbpctl_dev) if ((pbpctl_dev->func == 1) || (pbpctl_dev->func == 3)) mask = BPCTLI_SWFW_PHY1_SM; - while (bp75_get_hw_semaphore_generic(pbpctl_dev) != 0) ; + while (bp75_get_hw_semaphore_generic(pbpctl_dev) != 0); /* Empty */ swfw_sync = BPCTL_READ_REG(pbpctl_dev, SW_FW_SYNC); @@ -5345,7 +5345,7 @@ static void if_scan_init(void) memcpy(&cbuf, drvinfo.bus_info, 32); buf = &cbuf[0]; - while (*buf++ != ':') ; + while (*buf++ != ':'); for (i = 0; i < 10; i++, buf++) { if (*buf == ':') break; |