Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932697AbcDHTIw (ORCPT ); Fri, 8 Apr 2016 15:08:52 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:49485 "EHLO mx4-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbcDHTIt (ORCPT ); Fri, 8 Apr 2016 15:08:49 -0400 Date: Fri, 8 Apr 2016 15:08:46 -0400 (EDT) From: Laurence Oberman To: Denys Vlasenko Cc: James Bottomley , Hiral Patel , Suma Ramars , Brian Uchino , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <1514889616.28091362.1460142525998.JavaMail.zimbra@redhat.com> In-Reply-To: <1460141926-13069-2-git-send-email-dvlasenk@redhat.com> References: <1460141926-13069-1-git-send-email-dvlasenk@redhat.com> <1460141926-13069-2-git-send-email-dvlasenk@redhat.com> Subject: Re: [PATCH] drivers/scsi/fnic/fnic_scsi.c: Deinline fnic_queue_abort_io_req, save 1792 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.36.7.193] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF38 (Linux)/8.0.6_GA_5922) Thread-Topic: drivers/scsi/fnic/fnic_scsi.c: Deinline fnic_queue_abort_io_req, save 1792 bytes Thread-Index: KtkKtfTO27XDIAFTYdVRN1c3CXx/uQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1782 Lines: 50 Simple change, looks fine to me. Reviewed-by: Laurence Oberman Laurence Oberman Principal Software Maintenance Engineer Red Hat Global Support Services ----- Original Message ----- From: "Denys Vlasenko" To: "James Bottomley" Cc: "Denys Vlasenko" , "Hiral Patel" , "Suma Ramars" , "Brian Uchino" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Sent: Friday, April 8, 2016 2:58:43 PM Subject: [PATCH] drivers/scsi/fnic/fnic_scsi.c: Deinline fnic_queue_abort_io_req, save 1792 bytes This function compiles to 511 bytes of machine code. Abort commands are not time-critical at all. Signed-off-by: Denys Vlasenko CC: James Bottomley CC: Hiral Patel CC: Suma Ramars CC: Brian Uchino CC: linux-scsi@vger.kernel.org CC: linux-kernel@vger.kernel.org --- drivers/scsi/fnic/fnic_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c index 266b909..0a3edee 100644 --- a/drivers/scsi/fnic/fnic_scsi.c +++ b/drivers/scsi/fnic/fnic_scsi.c @@ -1435,7 +1435,7 @@ wq_copy_cleanup_scsi_cmd: } } -static inline int fnic_queue_abort_io_req(struct fnic *fnic, int tag, +static int fnic_queue_abort_io_req(struct fnic *fnic, int tag, u32 task_req, u8 *fc_lun, struct fnic_io_req *io_req) { -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html