Commit 5dc8b542 authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] qlogicfas408.c warning fix

drivers/scsi/qlogicfas.c:190: warning: initialization from incompatible pointer type
parent d9883b01
...@@ -538,7 +538,7 @@ int qlogicfas408_device_reset(Scsi_Cmnd * cmd) ...@@ -538,7 +538,7 @@ int qlogicfas408_device_reset(Scsi_Cmnd * cmd)
* Return info string * Return info string
*/ */
char *qlogicfas408_info(struct Scsi_Host *host) const char *qlogicfas408_info(struct Scsi_Host *host)
{ {
struct qlogicfas408_priv *priv = get_priv_by_host(host); struct qlogicfas408_priv *priv = get_priv_by_host(host);
return priv->qinfo; return priv->qinfo;
......
...@@ -111,7 +111,7 @@ int qlogicfas408_abort(Scsi_Cmnd * cmd); ...@@ -111,7 +111,7 @@ int qlogicfas408_abort(Scsi_Cmnd * cmd);
int qlogicfas408_bus_reset(Scsi_Cmnd * cmd); int qlogicfas408_bus_reset(Scsi_Cmnd * cmd);
int qlogicfas408_host_reset(Scsi_Cmnd * cmd); int qlogicfas408_host_reset(Scsi_Cmnd * cmd);
int qlogicfas408_device_reset(Scsi_Cmnd * cmd); int qlogicfas408_device_reset(Scsi_Cmnd * cmd);
char *qlogicfas408_info(struct Scsi_Host *host); const char *qlogicfas408_info(struct Scsi_Host *host);
int qlogicfas408_get_chip_type(int qbase, int int_type); int qlogicfas408_get_chip_type(int qbase, int int_type);
void qlogicfas408_setup(int qbase, int id, int int_type); void qlogicfas408_setup(int qbase, int id, int int_type);
int qlogicfas408_detect(int qbase, int int_type); int qlogicfas408_detect(int qbase, int int_type);
......
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