Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195660
b: refs/heads/master
c: 160e7f6
h: refs/heads/master
v: v3
  • Loading branch information
Tomohiro Kusumi authored and James Bottomley committed May 1, 2010
1 parent fa725b9 commit 64ce07c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8637ac3340eca9d01f056f81c10fd61d15d2f5ee
refs/heads/master: 160e7f671344e40b86663a8913e175a3bb5d7f84
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/scsi_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL);


/*
* sdev_rd_attr: create a function and attribute variable for a
* sdev_rw_attr: create a function and attribute variable for a
* read/write field.
*/
#define sdev_rw_attr(field, format_string) \
Expand All @@ -486,7 +486,7 @@ sdev_store_##field (struct device *dev, struct device_attribute *attr, \
{ \
struct scsi_device *sdev; \
sdev = to_scsi_device(dev); \
snscanf (buf, 20, format_string, &sdev->field); \
sscanf (buf, format_string, &sdev->field); \
return count; \
} \
static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
Expand Down

0 comments on commit 64ce07c

Please sign in to comment.