mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
The patch below fixes the following category of checkpatch complaints:
WARNING: externs should be avoided in .c files The patch below has been tested by rerunning the following command and by verifying its output: scripts/run-regression-tests 2.6.26.8 Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1263 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -448,10 +448,6 @@ out:
|
||||
return size;
|
||||
}
|
||||
|
||||
extern int qla2x00_configure_loop(scsi_qla_host_t *);
|
||||
extern int qla2x00_configure_local_loop(scsi_qla_host_t *);
|
||||
extern int qla2x00_configure_fabric(scsi_qla_host_t *);
|
||||
|
||||
static ssize_t
|
||||
qla2x00_update_portdb(struct device *dev,
|
||||
struct device_attribute *attr, const char *buffer, size_t size)
|
||||
|
||||
@@ -54,6 +54,10 @@ extern int qla2x00_issue_marker(scsi_qla_host_t *ha, int ha_locked);
|
||||
|
||||
extern void qla84xx_put_chip(struct scsi_qla_host *);
|
||||
|
||||
extern int qla2x00_configure_loop(scsi_qla_host_t *);
|
||||
extern int qla2x00_configure_local_loop(scsi_qla_host_t *);
|
||||
extern int qla2x00_configure_fabric(scsi_qla_host_t *);
|
||||
|
||||
/*
|
||||
* Global Data in qla_os.c source file.
|
||||
*/
|
||||
|
||||
@@ -31,9 +31,6 @@ static void qla2x00_init_response_q_entries(scsi_qla_host_t *);
|
||||
static int qla2x00_init_rings(scsi_qla_host_t *);
|
||||
static int qla2x00_fw_ready(scsi_qla_host_t *);
|
||||
static int qla2x00_configure_hba(scsi_qla_host_t *);
|
||||
int qla2x00_configure_loop(scsi_qla_host_t *);
|
||||
int qla2x00_configure_local_loop(scsi_qla_host_t *);
|
||||
int qla2x00_configure_fabric(scsi_qla_host_t *);
|
||||
static int qla2x00_find_all_fabric_devs(scsi_qla_host_t *, struct list_head *);
|
||||
static int qla2x00_device_resync(scsi_qla_host_t *);
|
||||
static int qla2x00_fabric_dev_login(scsi_qla_host_t *, fc_port_t *,
|
||||
|
||||
Reference in New Issue
Block a user