From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751725AbaCSR7A (ORCPT ); Wed, 19 Mar 2014 13:59:00 -0400 Received: from mail-qc0-f179.google.com ([209.85.216.179]:61479 "EHLO mail-qc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbaCSR64 (ORCPT ); Wed, 19 Mar 2014 13:58:56 -0400 Date: Wed, 19 Mar 2014 13:58:52 -0400 From: Tejun Heo To: Randy Dunlap Cc: LKML , James Bottomley , linux-ide@vger.kernel.org, linux-scsi , Jim Davis , Dan Williams Subject: Re: [PATCH -next] libata.h: add stub for ata_sas_port_resume Message-ID: <20140319175852.GD19874@htj.dyndns.org> References: <5329D7F1.4030400@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5329D7F1.4030400@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 19, 2014 at 10:46:25AM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build error when CONFIG_PM is not enabled by adding a stub > function in . > > drivers/scsi/libsas/sas_ata.c: In function 'sas_resume_sata': > drivers/scsi/libsas/sas_ata.c:756:3: error: implicit declaration of function 'ata_sas_port_resume' [-Werror=implicit-function-declaration] > > Signed-off-by: Randy Dunlap > Reported-by: Jim Davis > --- > include/linux/libata.h | 3 +++ > 1 file changed, 3 insertions(+) > > --- linux-next-20140319.orig/include/linux/libata.h > +++ linux-next-20140319/include/linux/libata.h > @@ -1148,6 +1148,9 @@ static inline void ata_sas_port_suspend( > static inline void ata_sas_port_async_resume(struct ata_port *ap) > { > } > +static inline void ata_sas_port_resume(struct ata_port *ap) > +{ > +} > #endif > extern int ata_ratelimit(void); > extern void ata_msleep(struct ata_port *ap, unsigned int msecs); Applied to libata/for-3.15. Thanks. -- tejun