[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D9FFE20C522965449E182ACE73889AEB20842693@IRSMSX105.ger.corp.intel.com>
Date: Mon, 31 Mar 2014 08:54:49 +0000
From: "Dorau, Lukasz" <lukasz.dorau@...el.com>
To: Rashika Kheria <rashika.kheria@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: intel-linux-scu <intel-linux-scu@...el.com>,
"Patelczyk, Maciej" <maciej.patelczyk@...el.com>,
"Jiang, Dave" <dave.jiang@...el.com>,
"James E.J. Bottomley" <JBottomley@...allels.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"josh@...htriplett.org" <josh@...htriplett.org>,
"Paszkiewicz, Artur" <artur.paszkiewicz@...el.com>
Subject: RE: [PATCH 19/55] scsi: Mark function as static in isci/phy.c
On Saturday, March 29, 2014 7:04 PM Rashika Kheria <rashika.kheria@...il.com> wrote:
>
> Mark function as static in isci/phy.c because it is not used outside
> this file.
>
> This eliminates the following warning in isci/phy.c:
> drivers/scsi/isci/phy.c:672:6: warning: no previous prototype for
> ‘scu_link_layer_set_txcomsas_timeout’ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@...il.com>
> Reviewed-by: Josh Triplett <josh@...htriplett.org>
Acked-by: Lukasz Dorau <lukasz.dorau@...el.com>
> ---
> drivers/scsi/isci/phy.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c
> index cb87b2e..8e21022 100644
> --- a/drivers/scsi/isci/phy.c
> +++ b/drivers/scsi/isci/phy.c
> @@ -669,7 +669,8 @@ static const char *phy_event_name(u32 event_code)
> phy_state_name(state), phy_event_name(code), code)
>
>
> -void scu_link_layer_set_txcomsas_timeout(struct isci_phy *iphy, u32 timeout)
> +static void scu_link_layer_set_txcomsas_timeout(struct isci_phy *iphy,
> + u32 timeout)
> {
> u32 val;
>
> --
> 1.7.9.5
Powered by blists - more mailing lists