Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359523
b: refs/heads/master
c: 7414d4f
h: refs/heads/master
i:
  359521: f50d3df
  359519: eead25a
v: v3
  • Loading branch information
Cong Ding authored and Jens Axboe committed Feb 22, 2013
1 parent ea9c90e commit 78efb3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79d0b7f0e30e803061aa1660602a94c118c0c293
refs/heads/master: 7414d4f64b73cc30c600b4fe0a9cbc24cedc4285
5 changes: 4 additions & 1 deletion trunk/drivers/block/swim3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1090,10 +1090,13 @@ static const struct block_device_operations floppy_fops = {
static void swim3_mb_event(struct macio_dev* mdev, int mb_state)
{
struct floppy_state *fs = macio_get_drvdata(mdev);
struct swim3 __iomem *sw = fs->swim3;
struct swim3 __iomem *sw;

if (!fs)
return;

sw = fs->swim3;

if (mb_state != MB_FD)
return;

Expand Down

0 comments on commit 78efb3b

Please sign in to comment.