Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1867982yba; Thu, 4 Apr 2019 21:32:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+N3L43nWdlppHghMKGoFMsfdpCngiH/YhwZhDzBAj1+YiAb+IlfbFuHZ3faM1rEtVB3W8 X-Received: by 2002:a63:9a4a:: with SMTP id e10mr9741417pgo.366.1554438728907; Thu, 04 Apr 2019 21:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554438728; cv=none; d=google.com; s=arc-20160816; b=Yd6nyE1t7hk4FT/fG81geVqq8Wlbz+P7eI9Z3tnFAi5uoOEF+WKoTxzKz4plq3To9S pkJ3ijuKjNoTuNPCk1DmnKkpV+LmxGnnzSIybhaQL7GATJ6xCvguDUdBFkrlVqOHyRm3 8s8B7lyF67iiO2cPYGS+Lc7rm2kIH6d7GiBGN8pdizGmmGWK/sdKyVW30s8A/SBBxikX nD0bgb+pPZq5D3NgRPK0PreboYUulYZVjMjyNyl116ONa+KMaAVjgfVDIyolBrMCzNO7 pD8RvugweyQqp3Cu324yCZTX8hU0bagh3j+taKbJN+XlR2NRfc/8qXV43oNCyTaznQXH i7gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=xNrjygPawER0nXIQek615IGO8nihez3HuMMu39W34wU=; b=0vKuaSkbktnvmlh/ZoBIq1q3IU7cld/VTptUaw2WHmHo3BNDrXHQkwGHAwMqFzF23O fxBfQkfzFVM8Rpo0sJbTJAumd/4llfJukWvVTOtsYohbCCl+RHDKaBqPUm39P8spD+Le O6IHMB0U1Ht4X376y9EkZDH1uEuWaP4yfBUyFqEAQf83lNCH2aLPMUpTKHoWBSi9Yvex dncqxXUlLXcSVa/bjZnCCok9VKhxAB+wo77Ckmx4ovgJs73/Z1NjEoKvd2NxhNUwPp0a LGPkY0DNVGpwWjIj+UZjtjTSKfHiJjgPA924OLSG4szDgATULcPtg2Ol79KAcIH9hFFC sWog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si692894pfh.87.2019.04.04.21.31.42; Thu, 04 Apr 2019 21:32:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726389AbfDEEbB (ORCPT + 99 others); Fri, 5 Apr 2019 00:31:01 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43410 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbfDEEbB (ORCPT ); Fri, 5 Apr 2019 00:31:01 -0400 Received: by mail-pf1-f193.google.com with SMTP id c8so2541224pfd.10; Thu, 04 Apr 2019 21:31:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xNrjygPawER0nXIQek615IGO8nihez3HuMMu39W34wU=; b=a0zOMu1F6YsVLWmWhpIZye6Bo75BtPN1mS5YV7/TKi2NAZluwVtjILsJlfKZCXiefO BkM1qeoQyrDeOZtE9GvHKJkrJFQma+CirIOc7h9sCnnzdNrUkubuAKSUfkviVRGXJa51 oZdPRcfE96cDhxeuK38fqfd4mhoG1kdj59R3UP78XsSiUyYu3azu6023yZrdTXFlbfHl FjXPeWEn2kD2T6BTU4ItK5aGjFlZ/RCnJJs3aYs3lYpNB57uFPBHdf6Ca8T0iHraOsE9 q2SxVDl3G0iKyHAesW6y8Q5HCTAFlvVQg8p/jfB32Rv+N+ECBAly9QELvLDWSNiRHCWq DwYw== X-Gm-Message-State: APjAAAWMyBR01/HHTDOd9ZUYrwBlGw7fpF961MIjf5O+FqCVHRyL8fg2 W8g6uNif80hyHdK3V87Rylw= X-Received: by 2002:a65:6389:: with SMTP id h9mr9918114pgv.398.1554438660457; Thu, 04 Apr 2019 21:31:00 -0700 (PDT) Received: from asus.site ([2601:647:4000:5dd1:a41e:80b4:deb3:fb66]) by smtp.gmail.com with ESMTPSA id a6sm29120680pfn.181.2019.04.04.21.30.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Apr 2019 21:30:58 -0700 (PDT) Subject: Re: linux-next: build warning after merge of the scsi tree To: Stephen Rothwell , James Bottomley Cc: Linux Next Mailing List , Linux Kernel Mailing List , "Martin K. Petersen" References: <20190405142347.1f264cdf@canb.auug.org.au> From: Bart Van Assche Message-ID: Date: Thu, 4 Apr 2019 21:30:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190405142347.1f264cdf@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/4/19 8:25 PM, Stephen Rothwell wrote: > Hi James, > > After merging the scsi tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > drivers/scsi/lpfc/lpfc_nvme.c:2140:1: warning: 'lpfc_nvme_lport_unreg_wait' defined but not used [-Wunused-function] > lpfc_nvme_lport_unreg_wait(struct lpfc_vport *vport, > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > > Introduced by commit > > 3999df75bccb ("scsi: lpfc: Declare local functions static") > > It use is guarded by IS_ENABLED(CONFIG_NVME_FC). I will have a closer look at this tomorrow. Bart.