Commit d54aa901 authored by Andrew Morton's avatar Andrew Morton Committed by Christoph Hellwig

[PATCH] warning fix to include/scsi/scsi_device.h

From: Mika Kukkonen <mika@osdl.org>

  CC [M]  drivers/block/cciss.o
In file included from drivers/scsi/scsi.h:27,
                 from drivers/block/cciss_scsi.c:31,
                 from drivers/block/cciss.c:188:
include/scsi/scsi_device.h:191: warning: `inline' is not at beginning of declaration

Another case of reordering the 'inline' and function return value.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 76981523
......@@ -188,7 +188,7 @@ extern int scsi_device_set_state(struct scsi_device *sdev,
extern int scsi_device_quiesce(struct scsi_device *sdev);
extern void scsi_device_resume(struct scsi_device *sdev);
extern const char *scsi_device_state_name(enum scsi_device_state);
static int inline scsi_device_online(struct scsi_device *sdev)
static inline int scsi_device_online(struct scsi_device *sdev)
{
return sdev->sdev_state != SDEV_OFFLINE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment