From patchwork Fri Mar 12 09:47:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12134129 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2C7DC4321A for ; Fri, 12 Mar 2021 09:49:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B746665011 for ; Fri, 12 Mar 2021 09:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233192AbhCLJsi (ORCPT ); Fri, 12 Mar 2021 04:48:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233089AbhCLJsH (ORCPT ); Fri, 12 Mar 2021 04:48:07 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08DAEC061574 for ; Fri, 12 Mar 2021 01:48:07 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id k8so1400360wrc.3 for ; Fri, 12 Mar 2021 01:48:06 -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=hb0h53+N/nT00wb74f1MjjQ1bTOb0RVG4vqVQWcHEZE=; b=P9B9CY2lD1RdF3q6iypPdFIU6at6cohz33wf9IqIkmzQbrlSn4Fsuw17QK/UZKPAhP ASbDjeI+KkpcxYf6NDz/oTk3ICjql66swpNRESmOpxbPMuWlaY9vIvCZbYJpJHtEcTUn rXaHQ9sCz9SbTNaRUSJUPM0GG9XAU7z7IogPGxd9zELtdCTZ05IkfZRHSCThYER5NGqU Ho2/dJngFDhZJkpI9IoHP/P2HYJKSQmGBKRigNKIaYQ83WnLkrBBRzK9vk16ektyswNM pix6qOdIdeav+F255QcqumBdOHkhJ81O3iJqZfADq/2Xhp1zi868k8/RN+SiALY0FMej h6ZQ== 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=hb0h53+N/nT00wb74f1MjjQ1bTOb0RVG4vqVQWcHEZE=; b=FzFagpg4Z+xWBTHK1j2VxchTjAd3YwPyCmmiErSkChX5wyIlRw411fOP2Rm2aBCnHC JfRno/6mEsUwMx34BGsQcJlysMOX6/mqD4JBXMOXdNc/eY53xbVvIaSqy/6MyOaAtBUD Rg72Vd+5KOAQzrKCYFiYyvQExK8HuMOn7jTSfWl5lqOyflXbnLxQ7sROBWX3k3a5pwI8 7ELo1hlsQ7k30EN0k3V77m2t0Hc3vQZvSTyACH1j+1bsXchNHMsImAzN1vaDAbyWiDDJ v76h4tHM3gNyVI0VxNp3R2JAs9C/kSZFobOZEhzewCkmBMvsiAEvdwFHaOIYjqvf70es CPFw== X-Gm-Message-State: AOAM533rQrlAEsPS/qdJ8DJ6aGLv72/VOMV4ERMQpOgpPWP6ibLFKBoI Ce5x9C3C2AjeHmPykcU0JdIgtg== X-Google-Smtp-Source: ABdhPJw9hVpTqUn8hfq8z50GtH+UEJaYIa62uf4N+tcmdzYne1haCmli1AcNq2/MJJLn7bCD7XfTow== X-Received: by 2002:a05:6000:245:: with SMTP id m5mr13372111wrz.284.1615542485738; Fri, 12 Mar 2021 01:48:05 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:48:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Stanley Chu , Jan Kotas , linux-scsi@vger.kernel.org Subject: [PATCH 16/30] scsi: ufs: cdns-pltfrm: Supply function names for headers Date: Fri, 12 Mar 2021 09:47:24 +0000 Message-Id: <20210312094738.2207817-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org> References: <20210312094738.2207817-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/ufs/cdns-pltfrm.c:109: warning: expecting prototype for Sets HCLKDIV register value based on the core_clk(). Prototype was for cdns_ufs_set_hclkdiv() instead drivers/scsi/ufs/cdns-pltfrm.c:144: warning: wrong kernel-doc identifier on line: drivers/scsi/ufs/cdns-pltfrm.c:160: warning: wrong kernel-doc identifier on line: drivers/scsi/ufs/cdns-pltfrm.c:176: warning: wrong kernel-doc identifier on line: Cc: Alim Akhtar Cc: Avri Altman Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Stanley Chu Cc: Jan Kotas Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/ufs/cdns-pltfrm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c index 149391faa19c1..13d92043e13b0 100644 --- a/drivers/scsi/ufs/cdns-pltfrm.c +++ b/drivers/scsi/ufs/cdns-pltfrm.c @@ -100,6 +100,7 @@ static void cdns_ufs_set_l4_attr(struct ufs_hba *hba) } /** + * cdns_ufs_set_hclkdiv() * Sets HCLKDIV register value based on the core_clk * @hba: host controller instance * @@ -141,6 +142,7 @@ static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba) } /** + * cdns_ufs_hce_enable_notify() * Called before and after HCE enable bit is set. * @hba: host controller instance * @status: notify stage (pre, post change) @@ -157,6 +159,7 @@ static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba, } /** + * cdns_ufs_hibern8_notify() * Called around hibern8 enter/exit. * @hba: host controller instance * @cmd: UIC Command @@ -173,6 +176,7 @@ static void cdns_ufs_hibern8_notify(struct ufs_hba *hba, enum uic_cmd_dme cmd, } /** + * cdns_ufs_link_startup_notify() * Called before and after Link startup is carried out. * @hba: host controller instance * @status: notify stage (pre, post change)