From patchwork Wed Mar 3 14:46:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392692 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6027888ejz; Thu, 4 Mar 2021 06:24:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWa0fV8PI3tz8V2xXtwKu4QCf0ar73etEPtL0NfKbeuWQpwHAXzdPVDOvR9z1+vPSuv3p/ X-Received: by 2002:a05:6402:1613:: with SMTP id f19mr4678354edv.222.1614867857668; Thu, 04 Mar 2021 06:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614867857; cv=none; d=google.com; s=arc-20160816; b=Gs/adZDLflXrau6H2ckuOUIvdJ0Y8mgbQCsz+yOS63oGkuUVmHK8jaInFVBfput+GT kCXVHIUN2cwYvgdi3asWUVuZ/it/UazeVgNQXaEDciwKAu6vactU6i8a7aK6/kTLkCvo KfvSzQeDvckGCl/WAuRkAULVMVR2X+7LyO8IaCC+1iDS5jGtiWbaDaNXUYiFj3Z6kC2C NjliXKT4befElJqyNdDMDmXN+T5WSbMvYjKxxlSvjGT/63kh2TcwWHc4oxpl063UrQGn UO6OzQhE+mSJNmxa2rRRcYfWJp0LtawUaOhZcTvB7gMOZGPwjd/r/hNN+2N6dPHhNKrn Oieg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fC33Zk0ZyYtHJeu4W5SBQTBQUeiPwdCaCHRN8M5tXzo=; b=GELq+xn6hUlHd0cEKR7FBSaaFbN559zygmhGH7mfOHqYu3kcwzWGR3AizLXdMsGgmR tU0tfQK2qXBOQi5E5n3kUbTgLbortEvGDZLCdWyRlZ1UUx3DvyBVvgVBZLTqHeo0km8p 2HNPf3nGXWwj4wsbodPXttEQK7ReFil4NSPURkBpxiCtjt4MKEDiBzwc44iaFtMTaUhC 1IDM97tv2/Ex30zXctMiVRKz6q0Qm06rUGlzWXASzxvHSOl6Npq0iCx3GRhzkoPNBLUY d/hzfBBG8ue1/I+Doa/Klucx3oFvPNl+YkfGv690ODv5ZVWsnx8qiiGkfHjRz00xlCXC 99TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DwK5Dwt6; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si18152486ejr.529.2021.03.04.06.24.17 for ; Thu, 04 Mar 2021 06:24:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DwK5Dwt6; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355636AbhCDAcM (ORCPT ); Wed, 3 Mar 2021 19:32:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359507AbhCCOsv (ORCPT ); Wed, 3 Mar 2021 09:48:51 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DF7AC0613AD for ; Wed, 3 Mar 2021 06:47:19 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id l12so23970470wry.2 for ; Wed, 03 Mar 2021 06:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fC33Zk0ZyYtHJeu4W5SBQTBQUeiPwdCaCHRN8M5tXzo=; b=DwK5Dwt6nm/K8A2h+SM7y1TVazpE7jM04zdOA6+fAjDaE24o4gNxKo0p47FOYZmr5p 7tz4IncFdVyJWF34XsqHuofmvBXLxB0VAuFNK5Oarknakq8yfMUTidNNUttmss0O8dd2 LEBuwpPwAa1vCL9qmlwDs04zTKm1W+O1XnxL559HFLhUE87HM/kKOm4AeqUvHaKjPpd8 5QVrXrzwZMt9Jtn+JncyrKUh1LJ4L1EtZBsq+SiAJT78Kq71lCH2cWHhn3EZ1j+TYLgI NEVaoCHNezYapYZl+Jk0ZxYtfYtqV3+m+EikoTtv6hzQJawGtJ4cWul13WUXMTXEc+Hw GKUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fC33Zk0ZyYtHJeu4W5SBQTBQUeiPwdCaCHRN8M5tXzo=; b=KK2C7uRAJBn+E2raRHAxnzikbTohOvJtIAoLONpXbNZt28jo/kXMHNgwMIPUlfuIWC XILXpeWFeAhuDFeemiozUGsrcrPXO97eXaKX5hBf1xflQvrd8g0YvUU3lb+78E/By7oU RRbShKxc8GY1sjydT0zZei9MSOwbO0xxPUaxs9cGHkAHrIPAwiI8uCEVXDK2VxHFFcRi LJ5sQGqtYUVGuLXBFvzv5vn/56Bhm5OZTD6nL83pvGX0kIWf8ZtBbkFy/eYvHzfhtYHR RF6d1+tvGCRro1NhU2Vmh1au05FyllB2rykm2fd/txiRXnp11lHyp7WiGvbltAgo6Vo0 4YGA== X-Gm-Message-State: AOAM532fa1atxqT+bOKYR5F5eYJbGBK03RHZHrrKjgskKnrBHcoG8Dpb VTEZExdUpKjTwQ9TrGVqfE+Vig== X-Received: by 2002:adf:eec5:: with SMTP id a5mr12420188wrp.303.1614782838134; Wed, 03 Mar 2021 06:47:18 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 13/30] scsi: pm8001: pm8001_ctl: Fix incorrectly named functions in headers Date: Wed, 3 Mar 2021 14:46:14 +0000 Message-Id: <20210303144631.3175331-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_ctl.c:313: warning: expecting prototype for pm8001_ctl_sas_address_show(). Prototype was for pm8001_ctl_host_sas_address_show() instead drivers/scsi/pm8001/pm8001_ctl.c:530: warning: expecting prototype for pm8001_ctl_aap_log_show(). Prototype was for pm8001_ctl_iop_log_show() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/pm8001/pm8001_ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 Acked-by: Jack Wang diff --git a/drivers/scsi/pm8001/pm8001_ctl.c b/drivers/scsi/pm8001/pm8001_ctl.c index 12035baf0997b..1921e69bc2328 100644 --- a/drivers/scsi/pm8001/pm8001_ctl.c +++ b/drivers/scsi/pm8001/pm8001_ctl.c @@ -299,7 +299,7 @@ static DEVICE_ATTR(sas_spec_support, S_IRUGO, pm8001_ctl_sas_spec_support_show, NULL); /** - * pm8001_ctl_sas_address_show - sas address + * pm8001_ctl_host_sas_address_show - sas address * @cdev: pointer to embedded class device * @attr: device attribute (unused) * @buf: the buffer returned @@ -518,7 +518,7 @@ static ssize_t event_log_size_show(struct device *cdev, } static DEVICE_ATTR_RO(event_log_size); /** - * pm8001_ctl_aap_log_show - IOP event log + * pm8001_ctl_iop_log_show - IOP event log * @cdev: pointer to embedded class device * @attr: device attribute (unused) * @buf: the buffer returned