From patchwork Mon Oct 12 23:02:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7379941 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2503CBEEA4 for ; Mon, 12 Oct 2015 23:04:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6355C20929 for ; Mon, 12 Oct 2015 23:04:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FEB220842 for ; Mon, 12 Oct 2015 23:04:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751902AbbJLXEM (ORCPT ); Mon, 12 Oct 2015 19:04:12 -0400 Received: from mga01.intel.com ([192.55.52.88]:42831 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752800AbbJLXD7 (ORCPT ); Mon, 12 Oct 2015 19:03:59 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 12 Oct 2015 16:03:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,675,1437462000"; d="scan'208";a="825367663" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 12 Oct 2015 16:03:57 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Zlm87-000NZw-G6; Tue, 13 Oct 2015 07:03:43 +0800 Date: Tue, 13 Oct 2015 07:02:47 +0800 From: kbuild test robot To: John Garry Cc: kbuild-all@01.org, James.Bottomley@HansenPartnership.com, linux-kernel@vger.kernel.com, devicetree@vger.kernel.org, arnd@arndb.de, linuxarm@huawei.com, zhangfei.gao@linaro.org, linux-scsi@vger.kernel.org, xuwei5@hisilicon.com, john.garry2@mail.dcu.ie, hare@suse.de, John Garry Subject: [RFC PATCH] scsi: hisi_sas: hisi_sas_find_dev_phyno() can be static Message-ID: <20151012230247.GA154621@lkp-ib04.intel.com> References: <201510130626.V3reAw1w%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1444663237-238302-23-git-send-email-john.garry@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- hisi_sas_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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 diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c index 12af29c..a01e8c0 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_main.c +++ b/drivers/scsi/hisi_sas/hisi_sas_main.c @@ -612,7 +612,7 @@ int hisi_sas_dev_found(struct domain_device *device) return hisi_sas_dev_found_notify(device, 1); } -int hisi_sas_find_dev_phyno(struct domain_device *device, int *phyno) +static int hisi_sas_find_dev_phyno(struct domain_device *device, int *phyno) { int i = 0, j = 0, num = 0, n = 0; struct sas_ha_struct *sha = device->port->ha;