From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 2/2] drivers: ata: Mark the function as static in libahci.c Date: Sat, 14 Dec 2013 16:23:11 -0500 Message-ID: <20131214212311.GA13216@htj.dyndns.org> References: <81391ee13d565f1db31247dfda803cd7123bb8a9.1387029964.git.rashika.kheria@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-qe0-f42.google.com ([209.85.128.42]:48202 "EHLO mail-qe0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554Ab3LNVXO (ORCPT ); Sat, 14 Dec 2013 16:23:14 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, josh@joshtriplett.org On Sat, Dec 14, 2013 at 07:40:21PM +0530, Rashika Kheria wrote: > This patch marks the function ahci_port_intr() and > ahci_hw_port_interrupt() as static in libahci.c because they are not > used outside this file. >=20 > Thus, it also eliminates the following warnings in libahci.c: > drivers/ata/libahci.c:1767:6: warning: no previous prototype for =E2=80= =98ahci_port_intr=E2=80=99 [-Wmissing-prototypes] > drivers/ata/libahci.c:1800:6: warning: no previous prototype for =E2=80= =98ahci_hw_port_interrupt=E2=80=99 [-Wmissing-prototypes] >=20 > Signed-off-by: Rashika Kheria Applied 1-2 to libata/for-3.14. Thanks. --=20 tejun