From patchwork Wed Mar 3 14:46:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392689 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6023741ejz; Thu, 4 Mar 2021 06:19:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxguUPqqMWRCaYnZIflaL5ZrWel5TN9bfg9OgfPN2LUz1rC8OAXs7UwgccDrpMdnA5nkJy3 X-Received: by 2002:aa7:c94a:: with SMTP id h10mr4730684edt.41.1614867542829; Thu, 04 Mar 2021 06:19:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614867542; cv=none; d=google.com; s=arc-20160816; b=tsR9N7mE7OZbKDCiELIWtJvRWbnYDQE5iADzKtJqFZCAR9vSG92OrzgotBui//Wrjk 3ABQqYYgTL8KauA3n2UJuMYcfc938J1Z0Qb6cpy2NeVWWPpU2mLbtHgNwNsjZqfpu8Eg bZ2ssvdj+SV59upXNIs/WLfYIeAiFrMCeUNO4/Im3NI9MtZIkdWsoBpBY7tbv/0nCXUQ EA4nDv9GcYGP0tO/Ll32YNT5h/fm8DJw4jgZRsUj1qYtYfmlHyJqbFs8aZE/HbZaBAox 3LJq6X7AjIcSvzGrI0Kwzf0QyNhK6c0uy7+0S5q2Wt7Jmzlc7pi1YUGZhXhKfnvvuutB pqQg== 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=EHdWW2swQWWLN2fON0JrG3mS4u0FbNeaPrg5kb6hkWU=; b=T6FLo6qi0L2nMe1OD6pzXnqjgDB2YWZFdCUpnBDFs4jZlT5OaMWGvoZvl+yTpAbkbO q9gQaPLDoalGacfz7BgJJaxXo7aM+iHH8sPbsSp6waZbPpJwl+seyZpD5VRQKUomJ2md 6EjOk6B9WNoweLpvxnnvITUqGx8iBFt8ie8CLRkpSE9d0C/4N4RpTXB8BxLzxGS8DoPl ZdqwiM8jvdUgslhGztAek7O2Y2hhiiBG2U/PzRnjHPStoJVtTVnO1ip+4i1q082aiQnA s1xNFb7cPqGJZNRPbADspoFSQ7pVPRisQe7cunyU3WuMQlnNJrTMV5vcDOTKd6Ttfxf6 aHEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PV+MriZ7; 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 kq25si2300882ejb.366.2021.03.04.06.19.02 for ; Thu, 04 Mar 2021 06:19:02 -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=PV+MriZ7; 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 S241610AbhCDAcI (ORCPT ); Wed, 3 Mar 2021 19:32:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359478AbhCCOsf (ORCPT ); Wed, 3 Mar 2021 09:48:35 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07BD8C0613A8 for ; Wed, 3 Mar 2021 06:47:17 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id w7so5391641wmb.5 for ; Wed, 03 Mar 2021 06:47:16 -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=EHdWW2swQWWLN2fON0JrG3mS4u0FbNeaPrg5kb6hkWU=; b=PV+MriZ79UvO8Un1KZdEI7jH/TmK2pAk1bDhwBgsfrqdMEl5aZHt1iJgNEUfpiLo1V wMmDAU5F94CjmyJAaRirgMQwwNLOuiM5CLMYXAJQpPU/B5SCDupT7VL1EX0ZO4xiwRnd G4ww+yglt+l42P+MUzEyGedFGTybK2/JquvE1mC2gNnEk49ND7Ep3cFkuhVqnWGGy1gv zedscH0PVDB9gtw5qZPZZaPP7mWnhP9zXT8wJk5SyEyh+YQHK1DeNvD1kGzNSLpRx1o/ RsI8JCTFXug/3DmPQLgJKRDsD2/Hufl21NeCaOQeISGiSCRe8v9ODktA7G/5FJJi/UI3 e4Xg== 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=EHdWW2swQWWLN2fON0JrG3mS4u0FbNeaPrg5kb6hkWU=; b=WJ95oF3sTMOe6T2aS8axfFY86jlnJJcS2ZPQddgOyJN+A7XmYbeMkfpbrsIZ9m3Ccf 0DYTVxA1CrMQTAi0IlDjJMDKbuMM499/77QhsPDNG64IqhGuAitK+m2HmJ2GnIyTQUu/ bj4qaHaPcZKIiNrJaYGDtgCE5wt2Uf9pmbF3ehBnnxIp/+03tx7J7ukPzmvcgN8NCsWE Mb9VOt/eMAo0nLo0i1BCw5wU2w+cRGaCvYa3WU9tZA95pCdM43bUvej4G3zQe8Vtmqfm /cl3B0o1tculoOeU6t1WKht4w6umf8xRSjSx96pTrBFeDZ4J9VpxgPSlFyHMXweJ1t6a vxuA== X-Gm-Message-State: AOAM5312T50EsUvwSQd65vcg+Q3OfaO3d39haczBcbydRUhTz+ugcW1e ixInLTIk+azR++7GGvB/KYEckPhpO+ksRQ== X-Received: by 2002:a1c:8005:: with SMTP id b5mr9578341wmd.130.1614782821020; Wed, 03 Mar 2021 06:47:01 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:58 -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 11/30] scsi: pm8001: pm8001_sas: Provide function name 'pm8001_I_T_nexus_reset()' in header Date: Wed, 3 Mar 2021 14:46:12 +0000 Message-Id: <20210303144631.3175331-12-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_sas.c:989: warning: expecting prototype for and hard reset for(). Prototype was for pm8001_I_T_nexus_reset() 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_sas.c | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 Acked-by: Jack Wang diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c index a98d4496ff8b6..742c83bc45554 100644 --- a/drivers/scsi/pm8001/pm8001_sas.c +++ b/drivers/scsi/pm8001/pm8001_sas.c @@ -981,6 +981,7 @@ void pm8001_open_reject_retry( } /** + * pm8001_I_T_nexus_reset() * Standard mandates link reset for ATA (type 0) and hard reset for * SSP (type 1) , only for RECOVERY * @dev: the device structure for the device to reset.