Skip to content

Commit afe42d7

Browse files
hharrisontorvalds
authored andcommitted
xen: make blkif_getgeo static
Introduced between 2.6.25-rc2 and -rc3 drivers/block/xen-blkfront.c:139:5: warning: symbol 'blkif_getgeo' was not declared. Should it be static? Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c9e587a commit afe42d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/xen-blkfront.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static void blkif_restart_queue_callback(void *arg)
137137
schedule_work(&info->work);
138138
}
139139

140-
int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
140+
static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
141141
{
142142
/* We don't have real geometry info, but let's at least return
143143
values consistent with the size of the device */

0 commit comments

Comments
 (0)