be
declared in a header file. thus can be recognized in other file.
So this patch moves the declarations into
drivers/scsi/megaraid/megaraid_sas.h.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/megaraid/megaraid_sas.h| 19 +++
drivers/scsi/me
they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/megaraid/megaraid_sas_base.c | 6 ++--
drivers/scsi/megaraid/megaraid_sas_fp.c | 28 ---
d
, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/be2iscsi/be_main.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be
/megaraid/megaraid_sas_base.c, but should be
declared in a header file. thus can be recognized in other file.
So this patch moves the declarations into
drivers/scsi/megaraid/megaraid_sas.h.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/megaraid/megaraid_sas.h
be
declared in a header file. thus can be recognized in other file.
So this patch moves the declarations into
drivers/scsi/megaraid/megaraid_sas.h.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/megaraid/megaraid_sas.h| 19 +++
drivers/scsi/me
these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/megaraid/megaraid_sas_base.c | 6 ++--
drivers/scsi/megaraid/megaraid_sas_fp.c | 30 ++---
drivers/scsi/megaraid/megaraid_sas_fusion.c | 52 +++--
3 files c
-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/mvsas/mv_64xx.
: no previous prototype for
'lpfc_rdp_res_oed_txpower_desc' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/pm8001/pm80xx_hwi.c | 7 ---
1 file chan
]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/pm8001/pm8001_hwi.c | 4 ++--
drivers/scsi/
for
'bfad_iocmd_iocfc_get_attr' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.
-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/megaraid/megaraid_sas_base.c | 13 -
drivers/scsi/megaraid/megaraid_sas_fusion.h | 9 +
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/me
'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/bfa/bfa_core.c | 2 +-
drivers/scsi/bfa/bfa_fcpim.c | 4 +-
drivers/scsi/bfa/bfa_fcs_lport.c | 2 +-
drivers/scsi/bfa/bfa_ioc.c | 6 +-
drivers/scsi/bfa/bfa_ioc_ct.c| 4 +-
drivers/scsi/bfa/bfa_
with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/lpfc/lpfc_ct.c | 82 +--
drivers/scsi/lpfc/lpfc_els.c | 34 +-
drivers/scsi/lpfc/lpfc_mbox.c | 4 +--
drivers/scsi/lpfc/lpfc_sli.c | 4 +--
4 files chang
, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/bnx2fc/bnx2fc_els.c | 4 ++--
drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 9 +
drivers/scsi/bnx2fc/bnx2fc_hwi.c | 2 +-
drivers/scsi/bnx2fc/bnx2f
this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/aacraid/src.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c
index 28f8b8a..0c45388 100644
--- a/driver
for
'scsi_evt_thread' [-Wmissing-prototypes]
in fact, both functions are declared in drivers/scsi/scsi_scan.c
but need to move them into scsi_priv.h.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
Reviewed-by: Bart Van Assche <bart.vanass...@sandisk.com>
---
drivers/scsi/scsi_priv.h | 2 ++
this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/qla4xxx/ql4_nx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c
index ae87d6c..06ddd13
]
In fact, these functions are declared in ufs/tc-dwc-g210.h, so this patch
add missing header dependencies
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/ufs/tc-dwc-g210.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/ufs/tc-dwc-g210.c b/drivers/scsi/ufs/
and exported
but need to be declared in header file.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/ufs/ufshcd.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
index 430bef1..2f696ea 100644
--- a/drivers/scsi/ufs/uf
for
'scsi_evt_thread' [-Wmissing-prototypes]
in fact, both functiones are declared in drivers/scsi/scsi_scan.c
but need to move the declarationes into scsi_priv.h.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/scsi_priv.h | 2 ++
drivers/scsi/scsi_scan.c | 2 --
2 files chan
used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie <baoyou@linaro.org>
---
drivers/scsi/pmcraid.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver
22 matches
Mail list logo