Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155686
b: refs/heads/master
c: 4fbfff7
h: refs/heads/master
v: v3
  • Loading branch information
Rakib Mullick authored and Tejun Heo committed Jul 19, 2009
1 parent ba2bb1d commit fd69b1e
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 9cb308ce8d32a1fb3600acab6034e19a90228743
refs/heads/master: 4fbfff76079a5c0e1751b0ddf53160d33f7831e7
7 changes: 6 additions & 1 deletion trunk/drivers/block/virtio_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,12 @@ static unsigned int features[] = {
VIRTIO_BLK_F_SCSI, VIRTIO_BLK_F_IDENTIFY
};

static struct virtio_driver virtio_blk = {
/*
* virtio_blk causes spurious section mismatch warning by
* simultaneously referring to a __devinit and a __devexit function.
* Use __refdata to avoid this warning.
*/
static struct virtio_driver __refdata virtio_blk = {
.feature_table = features,
.feature_table_size = ARRAY_SIZE(features),
.driver.name = KBUILD_MODNAME,
Expand Down

0 comments on commit fd69b1e

Please sign in to comment.