From patchwork Tue Nov 3 15:28:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878083 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 645C9C388F7 for ; Tue, 3 Nov 2020 15:30:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0679822370 for ; Tue, 3 Nov 2020 15:30:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c6i1KW+W"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b+gceZvO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0679822370 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QNA1HAc6o1yzlHyxXTt0cvlkWcpy+8W+Uhxe0shxBss=; b=c6i1KW+WRgYrnZ0rtHwHhh9mW owODZeGnP6wNuilu4Sp5rOPWYs6PnhUVmNBECTJFG7i0i1lf5i0d5YBCseWUVHXd3GX4FCgZvrAO/ XdvhdUMmrsoSFeYomU2g7Qh6E9Sa/LThX52bGvV0+vMI7X4nYsNs5ahi0LjFVyFmT4daY80MF199H zaMpRsnTpnAXXJagqNJadrCA3YfhKGM5A6H84Uo0T+0bVQxYtxli0fpgy4YyVPsXJf5+wcH6xHT4Y jd8n/znowzZJDHRX9UyAsxQre/ApF5LXTFimgGbWF+YWLr5BhW3TZ9j3ul8t1i51QuDDbUtpPe/3B /ZckCXVHQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFj-0001vd-Gq; Tue, 03 Nov 2020 15:29:46 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFG-0001gj-AK for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:16 +0000 Received: by mail-wr1-x442.google.com with SMTP id n18so18996272wrs.5 for ; Tue, 03 Nov 2020 07:29:12 -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=ZKNnsnkWS6MTTEoKsqQtDIZ+4degecWTbpTZPcWfJk8=; b=b+gceZvO1/GgJmrQD955pgpXJRkruP0AX2yVligjCZRNpbFq7n3Ezy68+aqLYDzEKV OJLSrEtpaNgudNQ5MNBWQynY+iG+EthpLQiXI1KwtjFLVY9LLv7iCHPbjEONTPAKNRH7 LmN1uBtT2wVjkgA62wWnJ03DqqLTXo4xB9IkVs5gKjSHE6xtfreHo6EgPipawL7aZkP/ c3iQKnzgo/wqG9D1ZGfVnwUIoUJzmEncZrlKx4moNvTmUGr6fENn+nNa5b0PaPFT4pzg qUL47Gy4Vl2699HKxn0b+kMosNUDFEtE3gjWO8tecY7QR+0pNyAcLSAlDGboTXwmiPAa uY+A== 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=ZKNnsnkWS6MTTEoKsqQtDIZ+4degecWTbpTZPcWfJk8=; b=t/tUhKiGEUtXUI1Fi2uL/xqkOsYbcmY+biW1A/XUPqS2P8WYZC5wHdC5vorh8VEgcG fYv3UWI7qtlzOQVP94yQakBDpWqLGLRzS14EDgMvlF6m+KJhuaiwlXfSs5MXHwjSeawf hwO6TiE41n4UARueGJmMsK++UpmQQl5N3ZUxSy913B1TmBsHkjYgHuhBA1xOW2S7LFwa MohMxncKbFNks8P2OyKFd7omeuLbF54mfY87utBIK2QPhOTj8ZYglcf8OprYxY/ba8xA em9Ncnporh2NosCj+TneOB0XMA3cNafBBv93S5rg3KY+a5/rKxkqnH497N4ksbHsuXn2 UjXg== X-Gm-Message-State: AOAM532/o6l7LTMxrMG5wTkb/Dg6yEBap21djA5TkXJWJJ+6MTlyWAt/ 1J954f1/zFh3VvzFmwulMno7tA== X-Google-Smtp-Source: ABdhPJzovp2vbFtDJY2ojcAcjM6l+8ZXESDvb4+bTd3xREAsY16r2NFZy3zpUu13sdE1lyQFiOLLMQ== X-Received: by 2002:a5d:46cf:: with SMTP id g15mr28532757wrs.342.1604417351660; Tue, 03 Nov 2020 07:29:11 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:11 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/25] soc: bcm: brcmstb: pm: pm-arm: Provide prototype for brcmstb_pm_s3_finish() Date: Tue, 3 Nov 2020 15:28:14 +0000 Message-Id: <20201103152838.1290217-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102914_438464_4DA886D8 X-CRM114-Status: GOOD ( 12.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org brcmstb_pm_s3_finish() cannot be made static because it is referenced from brcmstb_pm_s3(), so let's provide a prototype for it instead. Fixes the following W=1 kernel build warning(s): drivers/soc/bcm/brcmstb/pm/pm-arm.c:395:14: warning: no previous prototype for ‘brcmstb_pm_s3_finish’ [-Wmissing-prototypes] Cc: Florian Fainelli Cc: bcm-kernel-feedback-list@broadcom.com Signed-off-by: Lee Jones --- drivers/soc/bcm/brcmstb/pm/pm-arm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/bcm/brcmstb/pm/pm-arm.c b/drivers/soc/bcm/brcmstb/pm/pm-arm.c index b1062334e6089..a673fdffe2163 100644 --- a/drivers/soc/bcm/brcmstb/pm/pm-arm.c +++ b/drivers/soc/bcm/brcmstb/pm/pm-arm.c @@ -111,6 +111,8 @@ enum bsp_initiate_command { static struct brcmstb_pm_control ctrl; +noinline int brcmstb_pm_s3_finish(void); + static int (*brcmstb_pm_do_s2_sram)(void __iomem *aon_ctrl_base, void __iomem *ddr_phy_pll_status); From patchwork Tue Nov 3 15:28:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878111 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 26424C2D0A3 for ; Tue, 3 Nov 2020 15:32:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FBA220757 for ; Tue, 3 Nov 2020 15:32:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JqkH3wlm"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eMhOrS8i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FBA220757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2IgjgHOr+Jfc1mCH0yMuZXKdtJuTVp+nerX9S/NVvJ8=; b=JqkH3wlmifCFf9UaGoor21wVp O+l5xNXZO7rieOT+nFPV1kCx2ozCpcAvoYjQQ1n3mF9eung9t+6O6Nbietn3TUvvf1Hh/bbmqsdA3 hSOFzMjqriLnXzwrrLx742cgwYqLE3avX3+V6P6Ts+MCIvh1mK1baRrlJNQPomkbL+RGCWrqaprbr LI9fI/SG/ukkWfnMG9tsOPo6QP1C2/qYvW6FWrcAz18ZpBoHMFsN4HAHG3rxBmRjbC3ePP6BGXcZX LMQDIToKPvuwy1o6Bv8PNNtytrAsdIHBvqxCrEqn7EVf6bzpkEHUkHixvIpg4Od5Cs0bDjXVAXdxe TI++4iIGw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFx-00021L-EU; Tue, 03 Nov 2020 15:30:00 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFG-0001h9-Jd for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:16 +0000 Received: by mail-wr1-x444.google.com with SMTP id y12so18996101wrp.6 for ; Tue, 03 Nov 2020 07:29:13 -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=zy9kvgUXs/WPiYKzqvxC32aSPHbLNGyZHTHYNq/v11c=; b=eMhOrS8i+lVW1jzQLtrtzjA4g8AI7gCkFG0NYQ1En62uDk8769Ni9OGWuNzARl+sH5 C05u/onYjGMuEqCURs1Ez3eH8beNmL5OZDkO83kq+x1oAMrODLUcabO6fnski3vAlGO6 m9sEoI67smeYYnzmNz6QDZ8DW6rb8jjvURTz0up5I8A4RNM5bbmVOaH8LcBuAovVerqA GOjyoyWYC97JbtSxqqjZ4NR4jHkt0+mTY4km5avSVu15tpk2NHQK8K8migj4l48FBqVH Bb/tVPmCVrp49g8auokkn6gfX3ITL+WfHpTFCC4NKqBcLxg5+1KJadn+Js++HdBMyh0M r9nA== 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=zy9kvgUXs/WPiYKzqvxC32aSPHbLNGyZHTHYNq/v11c=; b=lvOEDz7Tq3Bq1TDpl8Oqsw+NZJlSKR+fCaPBk0UBO+o9MnuKNupSac7U7Zi4LlAR80 dt8QXGz5pym+qIke1U05BpP5yrn+ACd2N4TDb1S4CNExVFuBcES943Rl+QymAATBl0/w 3ojaITM9KbkmtgEcLNb5GGzyJSVJ8szxfmb8V3LtYwI4SqNmRdGzXC9bBmN7rbPqCIoD mCBw/b5kAHevVpQiADzmJKWjC4X9d+ZuQRZQkrenGLSQ6rZlAdPNswau97Bzn3l+SEpL hs3EM6J/VjFNCR5qcLaLsnyAPbgwWkeUX7qo192uaxEXtPGOEf5LJU62E/uCQi3O455u r8Cg== X-Gm-Message-State: AOAM532Ldq9xeqP913P8U74xdKKAwanj2Yvp5ZIA2TtfJrJ9eLUCXXoV EFj/ouomay2tZz1ZGqjk7+Mtyg== X-Google-Smtp-Source: ABdhPJy1tik0u1PCJKipwjUPaAlnCTpcl4xx8dB4MnHlJvvyMldQ/bfvYWoBOq4BzOGK8XRJ0BEnIw== X-Received: by 2002:a5d:474f:: with SMTP id o15mr210269wrs.377.1604417352772; Tue, 03 Nov 2020 07:29:12 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/25] soc: qcom: qcom_aoss: Remove set but unused variable 'tlen' Date: Tue, 3 Nov 2020 15:28:15 +0000 Message-Id: <20201103152838.1290217-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102914_726633_5CFCA7E3 X-CRM114-Status: GOOD ( 14.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/qcom_aoss.c: In function ‘qmp_send’: drivers/soc/qcom/qcom_aoss.c:228:9: warning: variable ‘tlen’ set but not used [-Wunused-but-set-variable] Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/qcom_aoss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c index ed2c687c16b31..83589756cb1f0 100644 --- a/drivers/soc/qcom/qcom_aoss.c +++ b/drivers/soc/qcom/qcom_aoss.c @@ -225,7 +225,6 @@ static bool qmp_message_empty(struct qmp *qmp) static int qmp_send(struct qmp *qmp, const void *data, size_t len) { long time_left; - size_t tlen; int ret; if (WARN_ON(len + sizeof(u32) > qmp->size)) @@ -242,7 +241,7 @@ static int qmp_send(struct qmp *qmp, const void *data, size_t len) writel(len, qmp->msgram + qmp->offset); /* Read back len to confirm data written in message RAM */ - tlen = readl(qmp->msgram + qmp->offset); + readl(qmp->msgram + qmp->offset); qmp_kick(qmp); time_left = wait_event_interruptible_timeout(qmp->event, From patchwork Tue Nov 3 15:28:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878081 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 4B6DCC2D0A3 for ; Tue, 3 Nov 2020 15:31:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E427E22226 for ; Tue, 3 Nov 2020 15:31:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Qq569r/h"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="liD2cJ9C" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E427E22226 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AgjbBsz2f/NCeNk4mq7EjqmuQPtCkwzWmTb84qyk/pA=; b=Qq569r/hVUcjGcrDXENzrcia4 37ygxtJP1kiPLIsrZkhq8DDB9w5sHlyVUWU3GlvQSorBqIVts40vEp+rOTsElS5oSQKvRAqKss48u jaMGeP/XnqgCzAm1MM79Dcxm9BxItqaWCTjmqo7CrT//bWD2yNxzb/ZqmlHZC59mcJF98fwDf20im zfpJzlRBY+S+o9r5nwdQb6+P7lqxe+hKn3iVYXwlOYtO89aSj/r/z4ezZQ/ZkO/tXqOdCKy732aUN wMtxz7yhy5qR5Z2mQ6+IOENyjs0ThVMKob+wg7bDUlwU6wI7fUnERg4LEqksLi8hfhuKl2pV1k9QI MH8x6qvlA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyGF-00029C-Eh; Tue, 03 Nov 2020 15:30:15 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFH-0001hl-13 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:16 +0000 Received: by mail-wm1-x341.google.com with SMTP id d142so4537672wmd.4 for ; Tue, 03 Nov 2020 07:29:14 -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=1lN7RjqJKaj+07aGaEEkPtdWfQk91SehnYtAfxyeBB4=; b=liD2cJ9CwzZ2SYd1CLIe0i4bfS9o8r4eF78uxOpEtkZq0rwRkTnXN/vEj2kz119Kk7 mCI/1yhdosjvPEpLnFx0SyWL/Ggod4R4H9x7TCSndD5ie8nm22eu6NCNicd3JYel6tru sFMU11YlXRMrUm6s+jLVtWDCCHX4QO46isavJjp1ah1UzeEv22JMSSgO3HFuFHrdjBUL crllpnSY8/MDMZBWfkdxyXDBVloK4HImxpDS/B2/5VniI3KTQ3BhtI7o23IlNDk9TwHb 3uv/AH+3yNi/EeZl5VdzXdxbiS0KwmcDSgCXY0C/EEzfgKO8q7Iq/9NPgrwdhqUu93PH 1pwg== 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=1lN7RjqJKaj+07aGaEEkPtdWfQk91SehnYtAfxyeBB4=; b=nLDdSdPmj6m0C6LnX9hBtCE20rDQorWc1nOjly219+rhvR3jssCtM11+hnODPPSAen 4e2sCDUZXM8L8nID0JMKTRGekHt42TR/GlZSe2kqK6UcqD28IXk6nnfzSLs/nU84fLcC xWe0+SU+obgLFhAYAhqyckCFHtOvSeHOK8hEQTqXesXhYAjTjvhPBiEU4aIdOSjqWT6b 6WQ6XtdAlz2aNdLb5VGw6JniqY2P8oV/jktYH/oM9PyjnMNrETHz0btLvchpxQJpzLh6 EDmRzvWhPqivAMS3aE9NXypE6jmr7wGz5Riz7lmkO+TR1jUNru4AFXRn/y+C8nA250Tx mhWw== X-Gm-Message-State: AOAM5319bVc95nsCdLbrfjYTRV/w6QHBbmxOLsOcKiYEpNeQPs27sWTG W+fK/Ne+IL9Hd0Za5lIpHqzhrzF2M2sF4EtJ X-Google-Smtp-Source: ABdhPJz+K+q59aUgF/pQskK2VHpT36t7WbvwACmmLQuDLZx9VC7mzOZb8J9bhjgG1ed4t79TfGL+5A== X-Received: by 2002:a1c:b487:: with SMTP id d129mr356032wmf.38.1604417353941; Tue, 03 Nov 2020 07:29:13 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/25] soc: qcom: qcom_aoss: Add missing description for 'cooling_devs' Date: Tue, 3 Nov 2020 15:28:16 +0000 Message-Id: <20201103152838.1290217-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102915_177065_FAFFA22F X-CRM114-Status: GOOD ( 13.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/qcom_aoss.c:86: warning: Function parameter or member 'cooling_devs' not described in 'qmp' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/qcom_aoss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c index 83589756cb1f0..b5840d624bc6e 100644 --- a/drivers/soc/qcom/qcom_aoss.c +++ b/drivers/soc/qcom/qcom_aoss.c @@ -65,6 +65,7 @@ struct qmp_cooling_device { * @tx_lock: provides synchronization between multiple callers of qmp_send() * @qdss_clk: QDSS clock hw struct * @pd_data: genpd data + * @cooling_devs: thermal cooling devices */ struct qmp { void __iomem *msgram; From patchwork Tue Nov 3 15:28:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878119 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 95C67C2D0A3 for ; Tue, 3 Nov 2020 15:33:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0817120780 for ; Tue, 3 Nov 2020 15:33:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rydOh+zu"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FavDb9p/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0817120780 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=H1WjPCKkrYGn4qKU+DSWVHdHjQs4Kc7uUU7F2UA5m1Y=; b=rydOh+zuipbmSPEg5SMSeTUtr buhrKFXY9FVnM9WmaVqD9KgbjmTzYxNrRvwPUacKolOaDZfz2ybkf0Lh9AJww8jD35oxUHXsur2Ov wRIS73IepG3Eep71JNwXsmLshDPxWJkaHUrd45Oee+vmnk7hF55k2SRNUZ9YBn+W3g9mtBA6G053+ zTv9/dEuW1Ef1rwyvH7ZdhFlb0hIXgte43J0hvX39KLgj6UB/VKModIoXPN19Bvz4WAz0I37l7WAO u094pnf3J1/zKnMFbgPyF+fURjck7hn8dTWEsJpSbIxyjuzUxHAnIM/TU/kCYyaQDtZDdH2XqskkJ VABx9t7fw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyGO-0002Cw-Fk; Tue, 03 Nov 2020 15:30:24 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFI-0001iq-FL for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:18 +0000 Received: by mail-wm1-x342.google.com with SMTP id e2so13188775wme.1 for ; Tue, 03 Nov 2020 07:29:15 -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=jfZrsuegqx+OmRO4GpwLy9Cb2wkLW2cpKd0ybvPvY8c=; b=FavDb9p/+6vVsi5kkU5BM2yQpZuZMCuDxbCNPZ3i2ikOvdmu9oq9Wh+VBTzxnjRzvP 1iMendN7Uq0YKDs1reiHHl4zQn3OrDfwrCM4qs8hgBK/oa3nwgnJ6pDqcrm4O8ER7bsN mz0l2zEiXnVbgU5XQQViAXUfN3GxwCvg19E4iBGPaj+qZMFaYb3M9ngKgm6cOKI9U6lS pPFRLfZfnZhb9MGFuKkpzp377YE0q4oZ3J3LIs4MHROhnVzX7VIINTCasqDAQ/+j8HJX xGgHPPYizzw14MsJKLzCqBevf+rG0b6ONujwXxMJRCK0/XdcAJJNXw43SC3Zku3Esoqu 88Uw== 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=jfZrsuegqx+OmRO4GpwLy9Cb2wkLW2cpKd0ybvPvY8c=; b=jf14MzKSr5rdR/hvKlIh9wvsor8MUcAJ9NgxrHFBj96lmYl/P29twunxFJrcaFW2sA P2uAT1CrGX8P0VEYNldSQ/iR7jy8tHlEHaij76ZFgNe6qLqCGgJOxPIEfzACXVhbJ3+d 2wohyBcvcsGsC3w0HgNa6aOh7AYCLv1PtoG0ha9hhrZEz19gwI7HXQ/3baKHWdUOVQr4 hBUH0pjXLM/vHyv3FnLp9kHmduu2F0WaqA78OxGaonJoLyOv1IXilVPKGlSqfs9tgwhw 2AbxyO9zZkIQXXcMUzCScun7gGvTgWnOsmvGNlzW8RjjsOeUbtEK/WiHFPn85rzw2NfQ rCuA== X-Gm-Message-State: AOAM5318TJMOcUy8M9iEK7BgmTsQeKl3xAbCd6yuH+Yn2cuXyWiAYZsV czGzrbwIXoET7SY7vqxL005Fjg== X-Google-Smtp-Source: ABdhPJzliMylxUcb30fC3RVeqyOpaETp603v3eHDKWTv3/UzCu2Bz6MbuvwQNgVnJm4Khpek01d44A== X-Received: by 2002:a1c:a982:: with SMTP id s124mr308897wme.65.1604417355037; Tue, 03 Nov 2020 07:29:15 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/25] soc: fsl: dpio: qbman-portal: Fix a bunch of kernel-doc misdemeanours Date: Tue, 3 Nov 2020 15:28:17 +0000 Message-Id: <20201103152838.1290217-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102916_582057_F02154EF X-CRM114-Status: GOOD ( 16.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roy Pledge , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Li Yang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/fsl/dpio/qbman-portal.c:430: warning: Function parameter or member 'inhibit' not described in 'qbman_swp_interrupt_set_inhibit' drivers/soc/fsl/dpio/qbman-portal.c:430: warning: Excess function parameter 'mask' description in 'qbman_swp_interrupt_set_inhibit' drivers/soc/fsl/dpio/qbman-portal.c:518: warning: Function parameter or member 'd' not described in 'qbman_eq_desc_clear' drivers/soc/fsl/dpio/qbman-portal.c:529: warning: Function parameter or member 'respond_success' not described in 'qbman_eq_desc_set_no_orp' drivers/soc/fsl/dpio/qbman-portal.c:529: warning: Excess function parameter 'response_success' description in 'qbman_eq_desc_set_no_orp' drivers/soc/fsl/dpio/qbman-portal.c:941: warning: Function parameter or member 's' not described in 'qbman_swp_push_get' drivers/soc/fsl/dpio/qbman-portal.c:941: warning: Excess function parameter 'p' description in 'qbman_swp_push_get' drivers/soc/fsl/dpio/qbman-portal.c:955: warning: Function parameter or member 's' not described in 'qbman_swp_push_set' drivers/soc/fsl/dpio/qbman-portal.c:955: warning: Excess function parameter 'p' description in 'qbman_swp_push_set' drivers/soc/fsl/dpio/qbman-portal.c:1052: warning: Function parameter or member 'd' not described in 'qbman_pull_desc_set_fq' drivers/soc/fsl/dpio/qbman-portal.c:1065: warning: Function parameter or member 'd' not described in 'qbman_pull_desc_set_wq' drivers/soc/fsl/dpio/qbman-portal.c:1079: warning: Function parameter or member 'd' not described in 'qbman_pull_desc_set_channel' drivers/soc/fsl/dpio/qbman-portal.c:1403: warning: Function parameter or member 'd' not described in 'qbman_release_desc_clear' drivers/soc/fsl/dpio/qbman-portal.c:1412: warning: Function parameter or member 'd' not described in 'qbman_release_desc_set_bpid' drivers/soc/fsl/dpio/qbman-portal.c:1412: warning: Function parameter or member 'bpid' not described in 'qbman_release_desc_set_bpid' drivers/soc/fsl/dpio/qbman-portal.c:1421: warning: Function parameter or member 'd' not described in 'qbman_release_desc_set_rcdi' drivers/soc/fsl/dpio/qbman-portal.c:1421: warning: Function parameter or member 'enable' not described in 'qbman_release_desc_set_rcdi' Cc: Roy Pledge Cc: Li Yang Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/soc/fsl/dpio/qbman-portal.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/soc/fsl/dpio/qbman-portal.c b/drivers/soc/fsl/dpio/qbman-portal.c index 659b4a570d5b5..f13da4d7d1c52 100644 --- a/drivers/soc/fsl/dpio/qbman-portal.c +++ b/drivers/soc/fsl/dpio/qbman-portal.c @@ -424,7 +424,7 @@ int qbman_swp_interrupt_get_inhibit(struct qbman_swp *p) /** * qbman_swp_interrupt_set_inhibit() - write interrupt mask register * @p: the given software portal object - * @mask: The mask to set in SWP_IIR register + * @inhibit: whether to inhibit the IRQs */ void qbman_swp_interrupt_set_inhibit(struct qbman_swp *p, int inhibit) { @@ -510,7 +510,7 @@ enum qb_enqueue_commands { #define QB_ENQUEUE_CMD_TARGET_TYPE_SHIFT 4 #define QB_ENQUEUE_CMD_DCA_EN_SHIFT 7 -/** +/* * qbman_eq_desc_clear() - Clear the contents of a descriptor to * default/starting state. */ @@ -522,7 +522,7 @@ void qbman_eq_desc_clear(struct qbman_eq_desc *d) /** * qbman_eq_desc_set_no_orp() - Set enqueue descriptor without orp * @d: the enqueue descriptor. - * @response_success: 1 = enqueue with response always; 0 = enqueue with + * @respond_success: 1 = enqueue with response always; 0 = enqueue with * rejections returned on a FQ. */ void qbman_eq_desc_set_no_orp(struct qbman_eq_desc *d, int respond_success) @@ -932,7 +932,7 @@ int qbman_swp_enqueue_multiple_desc_mem_back(struct qbman_swp *s, /** * qbman_swp_push_get() - Get the push dequeue setup - * @p: the software portal object + * @s: the software portal object * @channel_idx: the channel index to query * @enabled: returned boolean to show whether the push dequeue is enabled * for the given channel @@ -947,7 +947,7 @@ void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) /** * qbman_swp_push_set() - Enable or disable push dequeue - * @p: the software portal object + * @s: the software portal object * @channel_idx: the channel index (0 to 15) * @enable: enable or disable push dequeue */ @@ -1046,6 +1046,7 @@ void qbman_pull_desc_set_numframes(struct qbman_pull_desc *d, u8 numframes) /** * qbman_pull_desc_set_fq() - Set fqid from which the dequeue command dequeues + * @d: the pull dequeue descriptor to be set * @fqid: the frame queue index of the given FQ */ void qbman_pull_desc_set_fq(struct qbman_pull_desc *d, u32 fqid) @@ -1057,6 +1058,7 @@ void qbman_pull_desc_set_fq(struct qbman_pull_desc *d, u32 fqid) /** * qbman_pull_desc_set_wq() - Set wqid from which the dequeue command dequeues + * @d: the pull dequeue descriptor to be set * @wqid: composed of channel id and wqid within the channel * @dct: the dequeue command type */ @@ -1071,6 +1073,7 @@ void qbman_pull_desc_set_wq(struct qbman_pull_desc *d, u32 wqid, /** * qbman_pull_desc_set_channel() - Set channelid from which the dequeue command * dequeues + * @d: the pull dequeue descriptor to be set * @chid: the channel id to be dequeued * @dct: the dequeue command type */ @@ -1398,6 +1401,7 @@ int qbman_result_has_new_result(struct qbman_swp *s, const struct dpaa2_dq *dq) /** * qbman_release_desc_clear() - Clear the contents of a descriptor to * default/starting state. + * @d: the pull dequeue descriptor to be cleared */ void qbman_release_desc_clear(struct qbman_release_desc *d) { @@ -1407,6 +1411,8 @@ void qbman_release_desc_clear(struct qbman_release_desc *d) /** * qbman_release_desc_set_bpid() - Set the ID of the buffer pool to release to + * @d: the pull dequeue descriptor to be set + * @bpid: the bpid value to be set */ void qbman_release_desc_set_bpid(struct qbman_release_desc *d, u16 bpid) { @@ -1416,6 +1422,8 @@ void qbman_release_desc_set_bpid(struct qbman_release_desc *d, u16 bpid) /** * qbman_release_desc_set_rcdi() - Determines whether or not the portal's RCDI * interrupt source should be asserted after the release command is completed. + * @d: the pull dequeue descriptor to be set + * @enable: enable (1) or disable (0) value */ void qbman_release_desc_set_rcdi(struct qbman_release_desc *d, int enable) { From patchwork Tue Nov 3 15:28:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878087 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 0370DC2D0A3 for ; Tue, 3 Nov 2020 15:31:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A4B0C20735 for ; Tue, 3 Nov 2020 15:31:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nXbNTgW3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O2KkbM84" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4B0C20735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R+wmozi3KA2Eqzl1tYUVSB5mggRYHst9IpWwx8sXj9U=; b=nXbNTgW3LZJaJdsA4pziRKBSl sN5z/CItqcXm+qiU8auzmum2STwRqaU/YnUJ9lgG1qMHZ+f4pb9QbVFAgeXfDmaTaN58l0Ux+qGJE jQ6jwJi0pQTdrYqsrTcUAXey1I8LWAplSFPukZohHDMjMY5/hayBzGUCej8/N77a8DIOjbm/H+YLF E9umBhRl31ZNYxGzpa/eqtsQyPNeIcp/WiDj03SYULB2R7K/5FYLMUnckr2nRpLMVAqrhyEotkTjd pr0eaD9WHae075tvP/1LgAzRzjxTcLGVthZJbJKyVPsWI/vTxVdJArcRSSOPzryYYrWcXchAyxDNT Kd7QD7jow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyGd-0002GN-R6; Tue, 03 Nov 2020 15:30:40 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFJ-0001jg-UH for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:19 +0000 Received: by mail-wr1-x443.google.com with SMTP id b8so19026980wrn.0 for ; Tue, 03 Nov 2020 07:29:17 -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=aFpE8TWyRb/8lJ+wQ6DztKwPdlVGvH7F9yr1Famwf80=; b=O2KkbM844GlxoBJeeA8IiEb+C8pbG1IF+APG9qRsXnBzbNzZrztStr7i7P3fDcjSl7 ATxlms6R7tTkKNMTSbqFca74AYdlfCkww8nMZsBvKzJbLBA6WdopKV/7ZqjZPrjAIOLp dg/5PdOP84t6BVsweSC50HSZTBkgIyaMRe2Ug1KtcadpAkiOoARGbf9Hq+ysVTpPYNBg W0zc/siWTrUL4r46Rkso2k2roN/oD3oAPOq+8N6SY5yvb70pUJzhRhnMAURDPlRpdiaN 1XVQs/FTUHrLWZ1KPIP8mCCRdFId2IaFq3YEySOU+y9IRTOHhfnKb5d38Dp07Rf+yJ+f QRpQ== 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=aFpE8TWyRb/8lJ+wQ6DztKwPdlVGvH7F9yr1Famwf80=; b=QDcMuY1lzc/wQQnp6dIa6s4iwQ/BAj8kuJp6jsMkijxq1UkyQh9sf2DppleB0LPO09 bpFZmTRRSkZLEP1iO8JcmBVGoBsTjezssLiyi8D+gDoZ8DtnJ3PMeYIHYpJ+tgxzMLrU 4mJrc2HSJevV0Vot0aoPGzTpOo/8kgkblEWtM5y7dWnuigSF+O4M+uD7bpgV3ZKTvYlB gulO3GW6q3AuhorJyGPHf0RdysKuSqqZgxcVEbrW3/lrC1SiglTlVAam39/UnxTnh6KG Xh4HocZk0EdbxiYgx0NrgDBDUsZp3vyGV0af3/NFI8TEdOgnHLCcwk1Ke4JNPoz4YFwA 0paA== X-Gm-Message-State: AOAM533Bymges69jb+w22GXTesCeDFN+V22ZW8AxigTBHoIaO/T02sh+ q60f/Uto+ON3H8m6uBEGifa/sA== X-Google-Smtp-Source: ABdhPJzj/L32Nzhr35Iq/JNk+9EtSLNL/wng8uuuXmJxAVqXtSjiv6Hl8+RbW4GErg3nuxcOBHtUYg== X-Received: by 2002:a5d:5106:: with SMTP id s6mr26077213wrt.51.1604417356740; Tue, 03 Nov 2020 07:29:16 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/25] soc: rockchip: io-domain: Remove incorrect and incomplete comment header Date: Tue, 3 Nov 2020 15:28:18 +0000 Message-Id: <20201103152838.1290217-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102918_215542_22D14ACB X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Doug Anderson , Heiko Stuebner , "Rafael J. Wysocki" , Liam Girdwood , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Mark Brown , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/rockchip/io-domain.c:57: warning: Cannot understand * @supplies: voltage settings matching the register bits. Cc: Heiko Stuebner Cc: Liam Girdwood Cc: Mark Brown Cc: "Rafael J. Wysocki" Cc: Doug Anderson Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/soc/rockchip/io-domain.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/soc/rockchip/io-domain.c b/drivers/soc/rockchip/io-domain.c index eece97f97ef8f..d13d2d497720b 100644 --- a/drivers/soc/rockchip/io-domain.c +++ b/drivers/soc/rockchip/io-domain.c @@ -53,9 +53,6 @@ struct rockchip_iodomain; -/** - * @supplies: voltage settings matching the register bits. - */ struct rockchip_iodomain_soc_data { int grf_offset; const char *supply_names[MAX_SUPPLIES]; From patchwork Tue Nov 3 15:28:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878091 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 0F0DAC2D0A3 for ; Tue, 3 Nov 2020 15:31:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9DB0F221FB for ; Tue, 3 Nov 2020 15:31:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XKiZNlAX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IjSdgjyL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DB0F221FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Xi72j7V09aIN8Ny5XHmJnMB4VXvuyXIuAbXLmT+lS5o=; b=XKiZNlAX+7khiS84OyH18gQXB bvqML8F9IjspXewpGRkJonEprhKnkJMyUJulJhk+1oTe9Oo9aO4j7zWyCH2e1PrFgABZHq2PymjfI o5j9QbRycOpP0yhnx+/cuZmqq6IiMYvputDoAVllJSInFi9NSybkeR928QBBTYKPgpTBemj2iClUA oX8sXvtY4oFXGbYg00DnX85r4hQGtuwiwPMUe51vqkaaVnoEOOIqeXpgrgRElriOI7TyjMQBTaf+c lHxHSDy8y/Ak+oz9bpHEKptEW8ttpw7EvAAv33HAVgGfTttC6t6JApOrWz7j0t5j06AWurH4S1K/a 3PD2dOIfA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyGw-0002Qo-5b; Tue, 03 Nov 2020 15:30:58 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFL-0001kU-0J for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:20 +0000 Received: by mail-wr1-x442.google.com with SMTP id w1so19038728wrm.4 for ; Tue, 03 Nov 2020 07:29:18 -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=g+k7waY3+QfWzhVKGexLmvVmyJHPNqCtTC+98WzgpXQ=; b=IjSdgjyLA53oPRmCkUcqE9DncaAvo9Msl+j84z6LwG03L7XEelXSYEnE2hEVj4r6fX tswzhFM5GL+mh+oMSqvEZTi+j6x/CKr6AX79Qpl7H1C3lUVg1wtdHYNImer2t5IS31yM Hs78uWgfUPa4WxR6u4pIrVr6UN0Wap5ev/Sb/PqnEtj/3GUb7IIo3Q9GoboCfaf8/9Yv j6J1B/Y7ueW9jCNuwlNL6rpf08e9IJQk9PtjqN7YIXykryasGk87ZTrg3Gb/P1rxNEob gwfabOBOEE59+D4eQ4ojXtaDVZS3chXx2QVAALxEpfYuAYisZRQr086YQKWJLU0ATV+f EKhg== 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=g+k7waY3+QfWzhVKGexLmvVmyJHPNqCtTC+98WzgpXQ=; b=s5J9huQpM6HxDQtuJrddzD/FejEmEab/oJlJut2p3MqbqR+MS0NN18uOBoG7HOkHio HNczXEBjbIeujLkYnghWsNCbtpy7fpPuvoHEju40oyZKaOYa9ppPmOTJmu3q6YbK8vRg luET0BuQUIHYCOfZRgxbLEHKoFGeRAkrFQHiXn4SyJ+PiKVko+EAEYVpPZT7ssrjp2wg ZspTtR+gk6DV1XlxIN3Zy1J4dskJrF4TtBEQ/DBE9g3B9yYVzEl+QtbBPDB4s4wr/RtI NRKbrt58JqKKSH3PUGwvXPvAat0UCPqfN3S+5z4YIJe1dM+0r8sgSDJDPdrRejXnh6wn RDuw== X-Gm-Message-State: AOAM532LbSRmbieg9PvOYB5yY0jAddBm4KSLrDKozQ5NSEC2JTZbyNsX qH9FTE2KlLGp+I+3ti12FxfXpw== X-Google-Smtp-Source: ABdhPJyZf1iQCvYS3vY2aG5u9NnlJ6CKeoiGoNrK+vkGmEIgxUKT2UMLnHx8lFwSZaOlDy8LgWxSeA== X-Received: by 2002:adf:fc8b:: with SMTP id g11mr26960474wrr.300.1604417358112; Tue, 03 Nov 2020 07:29:18 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/25] soc: ti: knav_qmss_queue: Remove set but unchecked variable 'ret' Date: Tue, 3 Nov 2020 15:28:19 +0000 Message-Id: <20201103152838.1290217-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102919_144670_24FA8184 X-CRM114-Status: GOOD ( 14.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sandeep Nair , Cyril Chemparathy , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/ti/knav_qmss_queue.c: In function ‘knav_setup_queue_pools’: drivers/soc/ti/knav_qmss_queue.c:1310:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Santosh Shilimkar Cc: Sandeep Nair Cc: Cyril Chemparathy Signed-off-by: Lee Jones --- drivers/soc/ti/knav_qmss_queue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index a460f201bf8e7..f36c2dcb26911 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c @@ -1307,12 +1307,11 @@ static int knav_setup_queue_pools(struct knav_device *kdev, struct device_node *queue_pools) { struct device_node *type, *range; - int ret; for_each_child_of_node(queue_pools, type) { for_each_child_of_node(type, range) { - ret = knav_setup_queue_range(kdev, range); /* return value ignored, we init the rest... */ + knav_setup_queue_range(kdev, range); } } From patchwork Tue Nov 3 15:28:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878127 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 98E1FC2D0A3 for ; Tue, 3 Nov 2020 15:34:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 329A520735 for ; Tue, 3 Nov 2020 15:34:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aB+cQ9sO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ht6QrGtm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 329A520735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6fr0zB23scIOSSoE/o4frpMtBSRVKMC8W4FNrNkYGTU=; b=aB+cQ9sOKY6MmT/XC+LtIz4vE djDTGQTuFQWWM2/2A4EZBQntoG/vdRqItREUL8hso/gB496mXeZR1bB+bQx7xnfLiM+xc4qjIqA57 +KuChpNJA0JTE4Kvpi9yvzQVxtGJ9QtnU+vqxZ4kJ4GizCWoFtXRtmeStJCe1kcKSlBRqnOSWgr95 260YA6IwYJ9i+I5xWJuwNNXA3tMZm+hczCkhyPY2c3SYHWeRmGYKMS75hPNXGeyvOSv2m7hgcJ5F+ YdAaZuDDZxNtsY7KV6PAkzX/6FTp1gt/W1HrnPxA+LBDkKWPFwu0rEiqf+DDiMENgkOLG21bxPtQQ hHVOrt/8A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyHD-0002Vh-6r; Tue, 03 Nov 2020 15:31:15 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFM-0001l5-Af for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:22 +0000 Received: by mail-wr1-x443.google.com with SMTP id x7so19026037wrl.3 for ; Tue, 03 Nov 2020 07:29:20 -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=Chem4IZkNwwgFSwqp6pHX1gkK2ZVNdpiVbuoZ9pQWAg=; b=Ht6QrGtmM5QicdsS87qOW2/zFjuKCxiNBDANBWnvsXejeAQdA+RMRJqirV8zkkk4LK 0JP6CCc2KDqRfUJPiwN0ExIHk1tATT934zB7sJBqqU0pODRt7WcF5U8MofCBwYxFZcfj epYf7e6HiD4rIKqbKNS47QK9oaUAxcjpOylID4mPdnaMROf9+Ok4T5e3hXAiiEVMC+9w kTAWT8uqKZbLWm9unGFANyRCsQn5mTjoOM7iXz+PcHjWx3pK+Wsd7tfc5XUnFYJK9k3V K98UISZ4plTqKZVSxlvjux/0sr4b62UKjGuhpouLyh3O9lrVxVLcfW1pylS4UTdeT9GD b2Ng== 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=Chem4IZkNwwgFSwqp6pHX1gkK2ZVNdpiVbuoZ9pQWAg=; b=E7pb5tFPt4I4DJNzRLifAoZagFPy1+ZFplDUXS0BpPRu3rOUUsNy+G6vqnTjZBcmeq /D656fkYeBzMOtcoq+CbFl5yIRx1Cj2BtxEi950EOaQDybkVe+SvDNxbPqF7hacq4Fg/ pxEZwVpflujabODEnxqwf5MVn9rxgq/GLmA6t9NeGamqoi6Ct/+7bn4vheSkfmqICZLH nANkGEA1J0Ym6Q3NodoTjzcg54w4GZ4NCACbrq8Q7SxuZpbeXMi/QTwzNUMQ5KRtKDtU SIcm9FED6HR3u2JkyFBMuSBnnduuM14fyqYtMVBoZxCUVBU898t9fcwlrsa/pSFjgohA 38oQ== X-Gm-Message-State: AOAM530mcCeUrtuNZB2DzYZJa0vZ0rKc06Ty2omAupssVJC3u7TkEtMl 0L973n0Li6TPjqgBFawISHiB100grqhazul+ X-Google-Smtp-Source: ABdhPJy9Tp7qLxG4jbY2hAIsTaFD7cy6MjPKzYAoR1RZViCdFIbtB4J+9p5kbFZXjr9m9Wo1OlbuvQ== X-Received: by 2002:adf:fa8a:: with SMTP id h10mr26523661wrr.336.1604417359322; Tue, 03 Nov 2020 07:29:19 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/25] soc: ti: knav_qmss_queue: Fix a whole host of function documentation issues Date: Tue, 3 Nov 2020 15:28:20 +0000 Message-Id: <20201103152838.1290217-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102920_496003_55C57584 X-CRM114-Status: GOOD ( 17.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sandeep Nair , Cyril Chemparathy , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/ti/knav_qmss_queue.c:528: warning: Function parameter or member 'flags' not described in 'knav_queue_open' drivers/soc/ti/knav_qmss_queue.c:528: warning: Function parameter or member 'id' not described in 'knav_queue_open' drivers/soc/ti/knav_qmss_queue.c:528: warning: Function parameter or member 'name' not described in 'knav_queue_open' drivers/soc/ti/knav_qmss_queue.c:551: warning: Excess function parameter 'qh' description in 'knav_queue_close' drivers/soc/ti/knav_qmss_queue.c:551: warning: Function parameter or member 'qhandle' not described in 'knav_queue_close' drivers/soc/ti/knav_qmss_queue.c:583: warning: Excess function parameter 'qh' description in 'knav_queue_device_control' drivers/soc/ti/knav_qmss_queue.c:583: warning: Function parameter or member 'arg' not described in 'knav_queue_device_control' drivers/soc/ti/knav_qmss_queue.c:583: warning: Function parameter or member 'cmd' not described in 'knav_queue_device_control' drivers/soc/ti/knav_qmss_queue.c:583: warning: Function parameter or member 'qhandle' not described in 'knav_queue_device_control' drivers/soc/ti/knav_qmss_queue.c:635: warning: Excess function parameter 'data' description in 'knav_queue_push' drivers/soc/ti/knav_qmss_queue.c:635: warning: Excess function parameter 'qh' description in 'knav_queue_push' drivers/soc/ti/knav_qmss_queue.c:635: warning: Function parameter or member 'dma' not described in 'knav_queue_push' drivers/soc/ti/knav_qmss_queue.c:635: warning: Function parameter or member 'flags' not described in 'knav_queue_push' drivers/soc/ti/knav_qmss_queue.c:635: warning: Function parameter or member 'qhandle' not described in 'knav_queue_push' drivers/soc/ti/knav_qmss_queue.c:635: warning: Function parameter or member 'size' not described in 'knav_queue_push' drivers/soc/ti/knav_qmss_queue.c:655: warning: Excess function parameter 'qh' description in 'knav_queue_pop' drivers/soc/ti/knav_qmss_queue.c:655: warning: Function parameter or member 'qhandle' not described in 'knav_queue_pop' drivers/soc/ti/knav_qmss_queue.c:655: warning: Function parameter or member 'size' not described in 'knav_queue_pop' drivers/soc/ti/knav_qmss_queue.c:759: warning: Function parameter or member 'name' not described in 'knav_pool_create' drivers/soc/ti/knav_qmss_queue.c:759: warning: Function parameter or member 'num_desc' not described in 'knav_pool_create' drivers/soc/ti/knav_qmss_queue.c:759: warning: Function parameter or member 'region_id' not described in 'knav_pool_create' drivers/soc/ti/knav_qmss_queue.c:862: warning: Excess function parameter 'pool' description in 'knav_pool_destroy' drivers/soc/ti/knav_qmss_queue.c:862: warning: Function parameter or member 'ph' not described in 'knav_pool_destroy' drivers/soc/ti/knav_qmss_queue.c:892: warning: Excess function parameter 'pool' description in 'knav_pool_desc_get' drivers/soc/ti/knav_qmss_queue.c:892: warning: Function parameter or member 'ph' not described in 'knav_pool_desc_get' drivers/soc/ti/knav_qmss_queue.c:911: warning: Excess function parameter 'pool' description in 'knav_pool_desc_put' drivers/soc/ti/knav_qmss_queue.c:911: warning: Function parameter or member 'desc' not described in 'knav_pool_desc_put' drivers/soc/ti/knav_qmss_queue.c:911: warning: Function parameter or member 'ph' not described in 'knav_pool_desc_put' drivers/soc/ti/knav_qmss_queue.c:931: warning: Excess function parameter 'pool' description in 'knav_pool_desc_map' drivers/soc/ti/knav_qmss_queue.c:931: warning: Function parameter or member 'desc' not described in 'knav_pool_desc_map' drivers/soc/ti/knav_qmss_queue.c:931: warning: Function parameter or member 'dma' not described in 'knav_pool_desc_map' drivers/soc/ti/knav_qmss_queue.c:931: warning: Function parameter or member 'dma_sz' not described in 'knav_pool_desc_map' drivers/soc/ti/knav_qmss_queue.c:931: warning: Function parameter or member 'ph' not described in 'knav_pool_desc_map' drivers/soc/ti/knav_qmss_queue.c:931: warning: Function parameter or member 'size' not described in 'knav_pool_desc_map' drivers/soc/ti/knav_qmss_queue.c:956: warning: Excess function parameter 'pool' description in 'knav_pool_desc_unmap' drivers/soc/ti/knav_qmss_queue.c:956: warning: Function parameter or member 'dma' not described in 'knav_pool_desc_unmap' drivers/soc/ti/knav_qmss_queue.c:956: warning: Function parameter or member 'dma_sz' not described in 'knav_pool_desc_unmap' drivers/soc/ti/knav_qmss_queue.c:956: warning: Function parameter or member 'ph' not described in 'knav_pool_desc_unmap' drivers/soc/ti/knav_qmss_queue.c:975: warning: Excess function parameter 'pool' description in 'knav_pool_count' drivers/soc/ti/knav_qmss_queue.c:975: warning: Function parameter or member 'ph' not described in 'knav_pool_count' Cc: Santosh Shilimkar Cc: Sandeep Nair Cc: Cyril Chemparathy Signed-off-by: Lee Jones --- drivers/soc/ti/knav_qmss_queue.c | 59 ++++++++++++++++---------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index f36c2dcb26911..26cc00ee0bd7f 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c @@ -79,7 +79,7 @@ EXPORT_SYMBOL_GPL(knav_qmss_device_ready); /** * knav_queue_notify: qmss queue notfier call * - * @inst: qmss queue instance like accumulator + * @inst: - qmss queue instance like accumulator */ void knav_queue_notify(struct knav_queue_inst *inst) { @@ -511,10 +511,10 @@ static int knav_queue_flush(struct knav_queue *qh) /** * knav_queue_open() - open a hardware queue - * @name - name to give the queue handle - * @id - desired queue number if any or specifes the type + * @name: - name to give the queue handle + * @id: - desired queue number if any or specifes the type * of queue - * @flags - the following flags are applicable to queues: + * @flags: - the following flags are applicable to queues: * KNAV_QUEUE_SHARED - allow the queue to be shared. Queues are * exclusive by default. * Subsequent attempts to open a shared queue should @@ -545,7 +545,7 @@ EXPORT_SYMBOL_GPL(knav_queue_open); /** * knav_queue_close() - close a hardware queue handle - * @qh - handle to close + * @qhandle: - handle to close */ void knav_queue_close(void *qhandle) { @@ -572,9 +572,9 @@ EXPORT_SYMBOL_GPL(knav_queue_close); /** * knav_queue_device_control() - Perform control operations on a queue - * @qh - queue handle - * @cmd - control commands - * @arg - command argument + * @qhandle: - queue handle + * @cmd: - control commands + * @arg: - command argument * * Returns 0 on success, errno otherwise. */ @@ -623,10 +623,10 @@ EXPORT_SYMBOL_GPL(knav_queue_device_control); /** * knav_queue_push() - push data (or descriptor) to the tail of a queue - * @qh - hardware queue handle - * @data - data to push - * @size - size of data to push - * @flags - can be used to pass additional information + * @qhandle: - hardware queue handle + * @dma: - DMA data to push + * @size: - size of data to push + * @flags: - can be used to pass additional information * * Returns 0 on success, errno otherwise. */ @@ -646,8 +646,8 @@ EXPORT_SYMBOL_GPL(knav_queue_push); /** * knav_queue_pop() - pop data (or descriptor) from the head of a queue - * @qh - hardware queue handle - * @size - (optional) size of the data pop'ed. + * @qhandle: - hardware queue handle + * @size: - (optional) size of the data pop'ed. * * Returns a DMA address on success, 0 on failure. */ @@ -746,9 +746,9 @@ EXPORT_SYMBOL_GPL(knav_pool_desc_dma_to_virt); /** * knav_pool_create() - Create a pool of descriptors - * @name - name to give the pool handle - * @num_desc - numbers of descriptors in the pool - * @region_id - QMSS region id from which the descriptors are to be + * @name: - name to give the pool handle + * @num_desc: - numbers of descriptors in the pool + * @region_id: - QMSS region id from which the descriptors are to be * allocated. * * Returns a pool handle on success. @@ -856,7 +856,7 @@ EXPORT_SYMBOL_GPL(knav_pool_create); /** * knav_pool_destroy() - Free a pool of descriptors - * @pool - pool handle + * @ph: - pool handle */ void knav_pool_destroy(void *ph) { @@ -884,7 +884,7 @@ EXPORT_SYMBOL_GPL(knav_pool_destroy); /** * knav_pool_desc_get() - Get a descriptor from the pool - * @pool - pool handle + * @ph: - pool handle * * Returns descriptor from the pool. */ @@ -905,7 +905,8 @@ EXPORT_SYMBOL_GPL(knav_pool_desc_get); /** * knav_pool_desc_put() - return a descriptor to the pool - * @pool - pool handle + * @ph: - pool handle + * @desc: - virtual address */ void knav_pool_desc_put(void *ph, void *desc) { @@ -918,11 +919,11 @@ EXPORT_SYMBOL_GPL(knav_pool_desc_put); /** * knav_pool_desc_map() - Map descriptor for DMA transfer - * @pool - pool handle - * @desc - address of descriptor to map - * @size - size of descriptor to map - * @dma - DMA address return pointer - * @dma_sz - adjusted return pointer + * @ph: - pool handle + * @desc: - address of descriptor to map + * @size: - size of descriptor to map + * @dma: - DMA address return pointer + * @dma_sz: - adjusted return pointer * * Returns 0 on success, errno otherwise. */ @@ -945,9 +946,9 @@ EXPORT_SYMBOL_GPL(knav_pool_desc_map); /** * knav_pool_desc_unmap() - Unmap descriptor after DMA transfer - * @pool - pool handle - * @dma - DMA address of descriptor to unmap - * @dma_sz - size of descriptor to unmap + * @ph: - pool handle + * @dma: - DMA address of descriptor to unmap + * @dma_sz: - size of descriptor to unmap * * Returns descriptor address on success, Use IS_ERR_OR_NULL() to identify * error values on return. @@ -968,7 +969,7 @@ EXPORT_SYMBOL_GPL(knav_pool_desc_unmap); /** * knav_pool_count() - Get the number of descriptors in pool. - * @pool - pool handle + * @ph: - pool handle * Returns number of elements in the pool. */ int knav_pool_count(void *ph) From patchwork Tue Nov 3 15:28:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878113 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=-9.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,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 76095C2D0A3 for ; Tue, 3 Nov 2020 15:33:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B18F420735 for ; Tue, 3 Nov 2020 15:33:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AYX8TH0r"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oMoqkY4x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B18F420735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LPiX+4xCGqkq2ZhdczT8V3G2MFqkUz2q+Ld4Ue3s5+M=; b=AYX8TH0rQz08NmDmfquFXenn1 ndcyFKG217YB7vvQcqa93rsMX7RQqZHN45PgGiJW3RAWuD+zZI/xySEz0HwpkfwIEDGdqefAlY7fR 0ex9OUofhfmSqsXX5efxVyjGDvQmM6MifTeIvmSDMXZgxhwQYxQU2jrDTrhzY7Kr3rIgWS9mkPHmU UFiVu31+62nid5fEopr6GoTwlvOCevRdj6WCxt+gP5m/nXaTHhJKyNlashLNzigbJRUNGGVEz5GiQ R2Lp6l01W79sr/Hrgg0svY/7qfST82RQi0e1JMMz/WVbM/NOoxuPvGWnhR70RtDtCmEo9V8PlFR8b gp3bBaD+Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyHV-0002eR-5Q; Tue, 03 Nov 2020 15:31:33 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFO-0001lu-7T for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:30 +0000 Received: by mail-wr1-x441.google.com with SMTP id y12so18996514wrp.6 for ; Tue, 03 Nov 2020 07:29:21 -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=UC0uGgUjjSLjD5RcXybgGHkFEDsZSC9QtuC5QnEPQQA=; b=oMoqkY4xKPUSIE4sPX8CPBS6as2OCFRrRZQamf9SpgZ5L2QRSxFEWPgEXdtOYlxH4u xLI4+0ASt/vT5xDnhavT41xnnxwTZwZ04tQlsnaLN8wNqCnzOMhbQdiNSY9ASZjCXSUN FSOkgTAA9b9hwXEeZp/khhczim9RujgyAp6ynusJei589VRjSeYvDCUxXjlhm0+qJECc S9u9ZZtS7dg7QDt9GNaALCnjuh42/Ox46+0hX37obpEjsVD1r5T6ZI5xn/uAqk+dxhZp YHmBaJw2oKZoldOnnA+JPphtHd68M+mWe8fgSEA5v56q45W8Y0thY5d+6p7D/Y+703uC Wtrg== 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=UC0uGgUjjSLjD5RcXybgGHkFEDsZSC9QtuC5QnEPQQA=; b=CRUKBxdGxuEX6qpBmn7FCkd8ACQHvgmLAKLFHa4uwNMQbDWHgaVZ1mRLKFEHfERM/b lsAA8J3JVqr0KhFAUCP34Xj/3u5oPWwRNHayQcpKhJjGPqiKKmDa8giP/udgcsiUDm8W TPmXIHogkxMHYgwhm9n+zNGcbX1Vc2zinlXjSRQO66OLwTDt2oaT97Xu8r8DPc8fzLC1 JswducpKtFu+pIPqSgzD6wlF1F/VnLnHlMKDkhHZeNcnZGK6gKnuCk46rNyrg1l/V6rU hR4UmeKcsTMqlqfEZ1XkSUKB1ddibF/Yn7rrTXW0lDzHNUxWUOhOUrx87EYbU5TVYoSV l64Q== X-Gm-Message-State: AOAM53219ARhxZg5kRACbOKx/R7waOxCQ9nZJQ/v7gzyF/+YRwwpxGlM OF7/H03coHw9fMUxEC4AXrPAEw== X-Google-Smtp-Source: ABdhPJxbdd8ZQFkyxwtakpdO5uZhE5duJJLh1WcEzx28/qO4spTQ4M9Cj9aozLszVbQeETu/3i5acQ== X-Received: by 2002:a5d:664b:: with SMTP id f11mr25449480wrw.195.1604417360753; Tue, 03 Nov 2020 07:29:20 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:19 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 08/25] soc: ti: knav_dma: Fix a kernel function doc formatting issue Date: Tue, 3 Nov 2020 15:28:21 +0000 Message-Id: <20201103152838.1290217-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102924_391681_0F4154C0 X-CRM114-Status: GOOD ( 13.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sandeep Nair , Cyril Chemparathy , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/ti/knav_dma.c:507: warning: Function parameter or member 'channel' not described in 'knav_dma_close_channel' Cc: Santosh Shilimkar Cc: Sandeep Nair Cc: Cyril Chemparathy Signed-off-by: Lee Jones --- drivers/soc/ti/knav_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c index 8c863ecb1c605..b2d63d8854d63 100644 --- a/drivers/soc/ti/knav_dma.c +++ b/drivers/soc/ti/knav_dma.c @@ -500,7 +500,7 @@ EXPORT_SYMBOL_GPL(knav_dma_open_channel); /** * knav_dma_close_channel() - Destroy a dma channel * - * channel: dma channel handle + * @channel: dma channel handle * */ void knav_dma_close_channel(void *channel) From patchwork Tue Nov 3 15:28:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878117 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 41851C2D0A3 for ; Tue, 3 Nov 2020 15:33:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CFD3520735 for ; Tue, 3 Nov 2020 15:33:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="goEbIjTf"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L81ntYaH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CFD3520735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=up4GKeKl8rOox1tjAJQHa4sT8Wm5zcjMWkwqbhu5sXo=; b=goEbIjTfOGAdkGuN7D+Tr2Hpw VvGTSh8A8XjYxU3F0I9K9qV8fvtiNIrKJ+wuC2gnG1HnI6SWwnDBP06mfT6K0pr1K6tkUMXJ1z6g3 p7w1UsCjojfFhEZ7hOtjBfiw73H93wzdz+gImW47GYIfOi4WqBvQ1COTZ37QHGZ4J2rJrq0Hpzfy5 yIaPmOqv+7ApadaCRF5lH1FT+SPKrGM5IA6hIm//+TOUKmSkBma0Ech3shV1sXjk+WcoDkq3cvMXn wE3EVfCCwnur98ay9b19e1kEhmaxAmCTRLZ0M+/PWeUZnPfP1EII82CGAiHkFXOxAQVDsPDF8CO+Y IaMwrMVZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyIT-0002xG-Qo; Tue, 03 Nov 2020 15:32:34 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFP-0001m2-0O for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:31 +0000 Received: by mail-wr1-x444.google.com with SMTP id g12so18979585wrp.10 for ; Tue, 03 Nov 2020 07:29:22 -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=zC5D2p/xr7Fk60uw7MynDrZ9h8BCpXQy0RvjfGe+1nQ=; b=L81ntYaHpJVSVMwlmCDVHWhzMT5mZEkEYb3TfZT54dRDZbF/2fAmBH/tYn+EHe8f/N qRqOBPhCq5HPuPqW3ZywOTOxQ/e2lhdmE92/+ffTDLoPus0xSi9MrD8xsJcbflQ6skHS 7oIVUwnfoczrgMSgnR4f1zsJcYliqfJTnCV28/GbcBMWs7zOUEsUkOvl9U3FgQginXRa /iF9OQSomCNG16BNWWmuvQ1a4rfE0oxUJF+Bua0lGe/lL/rbwRmbzWkAPzkVi8Hr8Ulw xCX0khVc7K7QxFb9AxfZpoTNOm9Cx7N16w3iEjaB0DZz+oVcSqUTWfeCLWPvefLn0gSB 2Fcg== 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=zC5D2p/xr7Fk60uw7MynDrZ9h8BCpXQy0RvjfGe+1nQ=; b=QzaOjjKl0M+jdDEV/Hj6lR4AmOfjmeWKdpXAcHiWKsnqB01uEojix+VqAy9eUhlP0X 39pOuHa16h4KQiwYfYPV+TP4QPa8K0iYlWKx0HW5FL+/s0mX/CQLeZdmm2ciWQ9Mn5En sUzl9tQ5BjMOlr121gI3XmFhvxtKbSCK+8n71L3fQoL+631QIH3UFHnOMAdp8fWphQPm +c+a2bqHAiK025HByEd9lYpH4ODPtduBC21stIx+c30gG5l0O8ugMStLzj57tnZIlu7P Uqk8o4Xc6pFrHJvz+SUiR/Og/2npXaNl7aSz1o7zCoI+KdPJj+lJfniXn516pqnNxOr/ LXTA== X-Gm-Message-State: AOAM530QXJE63j4rRiWDPyHTZgMBgNgx3BbDH0lGyzZR1isokv8MetCp qtikxYi+ryzHjzPBJlQ6zNJxQw== X-Google-Smtp-Source: ABdhPJwedN3NHZaPzKkzJC8epN0pbExQPzAYf4Qio8MK0dC0y0OkpHqydACglCuTMBSdkqkxI7grAQ== X-Received: by 2002:adf:92e7:: with SMTP id 94mr28774236wrn.271.1604417362112; Tue, 03 Nov 2020 07:29:22 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/25] soc: ti: pm33xx: Remove set but unused variable 'ret' Date: Tue, 3 Nov 2020 15:28:22 +0000 Message-Id: <20201103152838.1290217-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102924_443393_8D747F9F X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/ti/pm33xx.c: In function ‘am33xx_do_sram_idle’: drivers/soc/ti/pm33xx.c:138:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Santosh Shilimkar Signed-off-by: Lee Jones --- drivers/soc/ti/pm33xx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/soc/ti/pm33xx.c b/drivers/soc/ti/pm33xx.c index d2f5e7001a93c..9c0670ab6be6f 100644 --- a/drivers/soc/ti/pm33xx.c +++ b/drivers/soc/ti/pm33xx.c @@ -135,13 +135,11 @@ static int am33xx_push_sram_idle(void) static int am33xx_do_sram_idle(u32 wfi_flags) { - int ret = 0; - if (!m3_ipc || !pm_ops) return 0; if (wfi_flags & WFI_FLAG_WAKE_M3) - ret = m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_IDLE); + m3_ipc->ops->prepare_low_power(m3_ipc, WKUP_M3_IDLE); return pm_ops->cpu_suspend(am33xx_do_wfi_sram, wfi_flags); } From patchwork Tue Nov 3 15:28:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878129 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 F21A0C388F7 for ; Tue, 3 Nov 2020 15:35:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 952F6221FB for ; Tue, 3 Nov 2020 15:35:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ugT9GCAk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="S+09FZvF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 952F6221FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bLMQDEbiXkZyx1kQY2TfNOgwXSq2ekWcveYDDfkUkcg=; b=ugT9GCAkTSDHRtLKA+s5AV8pn EHFIlGQ3z5TdCF1eV+jI7Dn4vJyJc9FlyO0KEhELg1/1z94AeUu3PBBMQ/KzOtSz4dc3971YK3fPL 0JvfeCJbKjRcF7fTT04JhZbpdQzWvnG4tgYV3gzIV86HlOj4deP/4hb6AYUwETmxFaemm5F48Rt5P EUxV8JqV3bMYyyhWwB+QWAE1YXdCyHbweXUJO0PQnf5zeTo5TTDYwo1g0XpZM1lDbJbXzEp+5wG8D DbyDW31BQRfJOXoE8Ll/BEsmoroWHUwqGWgj9L+sQVEcAqYiamC4ZP4PDWLEgwTQS+8w5kkxBTSam OdMai6+5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyI2-0002nh-SW; Tue, 03 Nov 2020 15:32:11 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFQ-0001m5-1F for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:31 +0000 Received: by mail-wr1-x443.google.com with SMTP id y12so18996627wrp.6 for ; Tue, 03 Nov 2020 07:29:23 -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=09rWMfnYlRyV4fsHRd/rYRk+bGuNPAWsDGRa94IF8Wk=; b=S+09FZvFo+rK/fy0qh1+2+2ezmDUOTqA9WfstkdC8TVG+rdrmhYY9rJMIcDCXpsL/G bDLmAQnwpYAZMoRXcQ4N01Gy8ojxHPkG9neRk9sfn5pJnQnQ0JxkbXBQzWB9DdEPCN+a p8gHudq7skun6bpt+D9RMmdq1zkxYIpkgGR/kFlwnhfEOlIoA3PQenpl5h7k3TKUgrV4 Db/dO+666vsL2jh7ymUlDQueZ2LXqrvE0K179aq+tOiRm2DCu94BbtxbzWQkDya4shKM zNT0iY8O0m4KwVaPFPn5xE+71dTtKMVQhFSTecmquvcggiC1kfwA0aBc9mnQCZYtvk9B +z9Q== 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=09rWMfnYlRyV4fsHRd/rYRk+bGuNPAWsDGRa94IF8Wk=; b=q+k0TqAvCVEILqGaWEFwerZzduyEN2REPMbj2AELXYf9cjQ0j9UlQ6snTUcUkYghhE rrZDA6Lmv9f9Rl4ByRRZmzKhQMHUhLy+7j76d413IjxiLzsw5uDpvyKzmAu3Uy505Nqu tPvQDHq5VOaqEpG67vyV4bgzmsc4Rnp/LN3kHZ8nKQLhoL+FWZx0MJLLlfTbG3tB6Xb/ rBI75L0maxphGz/hAN2HkgK0n/Vhva1EuxtEE/IM7JnHSAKgMGKzfSmNAMmZWtnNwVvQ VBlZZ7UVyhBGd1FCJ/5Jp1Gij5u0uDPtjhQOPmU54KvdM6T/nt/JvEYs9olE80PmT+Sy gRJA== X-Gm-Message-State: AOAM533hnilD6nvx1N/p55EpkZl5KpO7/teTfoJbjHAE3Ea5nQ2KdAR3 wJc9YguAuDAgK/MJ5k9dkBha8g== X-Google-Smtp-Source: ABdhPJzIyWFyZ3KPxpe4y9AY0PXslJv88KbGM78JaEbhk9VnsCtW3zJgrDjS4ckZLYicz+h9XI7yfw== X-Received: by 2002:a5d:5106:: with SMTP id s6mr26077698wrt.51.1604417363188; Tue, 03 Nov 2020 07:29:23 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/25] soc: ti: wkup_m3_ipc: Document 'm3_ipc' parameter throughout Date: Tue, 3 Nov 2020 15:28:23 +0000 Message-Id: <20201103152838.1290217-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102925_388125_38720B16 X-CRM114-Status: GOOD ( 16.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dave Gerlach , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/ti/wkup_m3_ipc.c:227: warning: Function parameter or member 'm3_ipc' not described in 'wkup_m3_set_mem_type' drivers/soc/ti/wkup_m3_ipc.c:236: warning: Function parameter or member 'm3_ipc' not described in 'wkup_m3_set_resume_address' drivers/soc/ti/wkup_m3_ipc.c:248: warning: Function parameter or member 'm3_ipc' not described in 'wkup_m3_request_pm_status' drivers/soc/ti/wkup_m3_ipc.c:268: warning: Function parameter or member 'm3_ipc' not described in 'wkup_m3_prepare_low_power' drivers/soc/ti/wkup_m3_ipc.c:322: warning: Function parameter or member 'm3_ipc' not described in 'wkup_m3_finish_low_power' drivers/soc/ti/wkup_m3_ipc.c:369: warning: Function parameter or member 'm3_ipc' not described in 'wkup_m3_set_rtc_only' drivers/soc/ti/wkup_m3_ipc.c:369: warning: Excess function parameter 'wkup_m3_wakeup' description in 'wkup_m3_set_rtc_only' Cc: Santosh Shilimkar Cc: Dave Gerlach Signed-off-by: Lee Jones --- drivers/soc/ti/wkup_m3_ipc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c index e9ece45d7a333..c3e2161df732b 100644 --- a/drivers/soc/ti/wkup_m3_ipc.c +++ b/drivers/soc/ti/wkup_m3_ipc.c @@ -218,6 +218,7 @@ static int wkup_m3_is_available(struct wkup_m3_ipc *m3_ipc) /* Public functions */ /** * wkup_m3_set_mem_type - Pass wkup_m3 which type of memory is in use + * @m3_ipc: Pointer to wkup_m3_ipc context * @mem_type: memory type value read directly from emif * * wkup_m3 must know what memory type is in use to properly suspend @@ -230,6 +231,7 @@ static void wkup_m3_set_mem_type(struct wkup_m3_ipc *m3_ipc, int mem_type) /** * wkup_m3_set_resume_address - Pass wkup_m3 resume address + * @m3_ipc: Pointer to wkup_m3_ipc context * @addr: Physical address from which resume code should execute */ static void wkup_m3_set_resume_address(struct wkup_m3_ipc *m3_ipc, void *addr) @@ -239,6 +241,7 @@ static void wkup_m3_set_resume_address(struct wkup_m3_ipc *m3_ipc, void *addr) /** * wkup_m3_request_pm_status - Retrieve wkup_m3 status code after suspend + * @m3_ipc: Pointer to wkup_m3_ipc context * * Returns code representing the status of a low power mode transition. * 0 - Successful transition @@ -260,6 +263,7 @@ static int wkup_m3_request_pm_status(struct wkup_m3_ipc *m3_ipc) /** * wkup_m3_prepare_low_power - Request preparation for transition to * low power state + * @m3_ipc: Pointer to wkup_m3_ipc context * @state: A kernel suspend state to enter, either MEM or STANDBY * * Returns 0 if preparation was successful, otherwise returns error code @@ -315,6 +319,7 @@ static int wkup_m3_prepare_low_power(struct wkup_m3_ipc *m3_ipc, int state) /** * wkup_m3_finish_low_power - Return m3 to reset state + * @m3_ipc: Pointer to wkup_m3_ipc context * * Returns 0 if reset was successful, otherwise returns error code */ @@ -362,8 +367,7 @@ static const char *wkup_m3_request_wake_src(struct wkup_m3_ipc *m3_ipc) /** * wkup_m3_set_rtc_only - Set the rtc_only flag - * @wkup_m3_wakeup: struct wkup_m3_wakeup_src * gets assigned the - * wakeup src value + * @m3_ipc: Pointer to wkup_m3_ipc context */ static void wkup_m3_set_rtc_only(struct wkup_m3_ipc *m3_ipc) { From patchwork Tue Nov 3 15:28:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878121 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 5B309C388F7 for ; Tue, 3 Nov 2020 15:34:15 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A68A20735 for ; Tue, 3 Nov 2020 15:34:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="h56fwou5"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="josGJE8g" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A68A20735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UjTYkdSqmp2Z+qwxXMLGI010HwtwUbYfEWdZNgUZ/ik=; b=h56fwou5glMEAaD8+wW82ZVIK z0e4eHyTYqgyf3MoUcwdOwsFFRG8RKoGayflPMjH87gWe7PVdthO2MeatqgJ913rhgnCrZdQXKAwP ySu7kXbaIDu3F6jKXjCicuyvPtmUL0orw9In7worAEoN5SOYB5ROipLOPta2FeLaBZWI9cKftRjh/ ax/ssVVeAB7ghxbZfta5P+bsKxv85aFSXwM2GDho3wqCBIlV4yX8oASorOKXAAdOcy8bfDecxQdYL Vq+rDV159eyAhUGhSQ404m1aTmivAvv7h35Fdyl/Vf8X2viQsK6DKG/cV5Z/RExFPgMM4pm4Xb1eg oK+RN0Hvg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyJ3-0003B0-DH; Tue, 03 Nov 2020 15:33:11 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFR-0001nC-Lp for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:32 +0000 Received: by mail-wr1-x444.google.com with SMTP id e6so1755654wro.1 for ; Tue, 03 Nov 2020 07:29:25 -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=vBNjIzKKFLIKIRI5U9uzeH/MngM3x94OuZSkH5Dv/F4=; b=josGJE8g0cGm5dRus2hB4+zeisCPoF+VOurpXrjHOF2wKE+Z9FjCJs/AqIuTqc0sR5 WamgHlkMDTUh07hEBCFvPLenTgMuPn7jxaqWjXXA7/uwO2zXUk+guh4d20HhL9ZohHzN vRDdMz1Viofb5Uavi/+/pI3qgQFa6xZaYXBha9NH3qSrwqwsOXZSkFx+3zewILTjBVL6 SevRPEdVvn58RZyVPMLw/I6H5IFRZrd5HR0xqfuWpmubml8BZzCSnrMGpDleyPmEzUVp iOEN/HWUd11yRJADFVoQL3/TzEAtmxxxWVReIB/gRRcxvUDllbRi7pAy5ABg/H3quXke ZWVQ== 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=vBNjIzKKFLIKIRI5U9uzeH/MngM3x94OuZSkH5Dv/F4=; b=Au1ogTQENrw7rgHyD8jw0gjBrfIJCrT6ICjcbxXt1CJfS3zSlETSjQV45kW0U3HHME NyhhUapq2ptwn7hqLdCLTaKF5tfq06Vh1YvSpvJPf4N6nV4jGtJXqbjrtBlbmCTTYQxq bWtEburmVgu2SnIf5g+y33yT4Pt1qXdOpqETsfvIK5uc4Ad+WW0QFrzJJi9N+0lCIzHQ 2FBgd+Q0g44rznnkwt3RhHo/ZvkDqEtqdwBsatTCadZtqwn4MjlPio2MiXXJ5iWuQR+m gMK2TkFZax4H5GiStnNdoa+a+ApCAhNW6Ovx7Zob95Sh1wHjoABZWDgEMlrSzlyfMbgP zGPg== X-Gm-Message-State: AOAM533VJPgppFF5+VrgatWtiQ3RjFbY/HdIB/PsDH8rB9FPpqR9sYkS AVb2jVZsTdmsPtp+x8VQYp0V7Q== X-Google-Smtp-Source: ABdhPJx03S5vjk5hMfq3uHPc1HN4w5Uj192gBX1i3DR4VYLTiJ50hEydqw4F3+ykr1pITH8+ok1woA== X-Received: by 2002:a5d:4ccd:: with SMTP id c13mr26792942wrt.221.1604417364750; Tue, 03 Nov 2020 07:29:24 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/25] soc: fsl: qe: qe_common: Fix misnamed function attribute 'addr' Date: Tue, 3 Nov 2020 15:28:24 +0000 Message-Id: <20201103152838.1290217-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102926_023763_DEFE7F6A X-CRM114-Status: GOOD ( 14.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Software, Inc" , linux-kernel@vger.kernel.org, Li Yang , act , Dan Malek , Vitaly Bordug , Scott Wood , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Qiang Zhao Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/fsl/qe/qe_common.c:237: warning: Function parameter or member 'addr' not described in 'cpm_muram_dma' drivers/soc/fsl/qe/qe_common.c:237: warning: Excess function parameter 'offset' description in 'cpm_muram_dma' Cc: Qiang Zhao Cc: Li Yang Cc: Scott Wood Cc: act Cc: Dan Malek Cc: "Software, Inc" Cc: Vitaly Bordug Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/soc/fsl/qe/qe_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/fsl/qe/qe_common.c b/drivers/soc/fsl/qe/qe_common.c index 75075591f6308..497a7e0fd0272 100644 --- a/drivers/soc/fsl/qe/qe_common.c +++ b/drivers/soc/fsl/qe/qe_common.c @@ -231,7 +231,7 @@ EXPORT_SYMBOL(cpm_muram_offset); /** * cpm_muram_dma - turn a muram virtual address into a DMA address - * @offset: virtual address from cpm_muram_addr() to convert + * @addr: virtual address from cpm_muram_addr() to convert */ dma_addr_t cpm_muram_dma(void __iomem *addr) { From patchwork Tue Nov 3 15:28:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878133 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 80CDEC2D0A3 for ; Tue, 3 Nov 2020 15:35:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0547E20735 for ; Tue, 3 Nov 2020 15:35:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uyvL0rSx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="s+kNyl12" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0547E20735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=exZpowgzXrPYm8cFPKC7YfMnLLXZNGm/hLUf/1DbU0M=; b=uyvL0rSxRHnGoO2OL88UxAvv4 8/u48Hr+zA3cJ+cWAwrblOvyHxr/sPbJBlMYGcARNNe1bV5B1FHxW5WdgnWNeWRTI/kgG8GptQbYJ a/wxk2pUpG7Cb15jaVZQXyv0nuZFg2gfZAwq9iZh5NQQ7gf85FUO7EyIgRbE8WtosQFtt3fJs4X7d Af8ENJoOhVtljj/E9sAcoaGJ7TfxrEvMt3SFZAjMunJazwLTIXxUgF0TH0A3O1xBoL2uaI5R+/7dV wAm5bOLep9Bbw2YqlYEOn0EFpa9vSENFVJ1BuM81w1YKHyuhT4ypDIFqeEHiRvPkBX5ELcUvzB5K0 Dk3lq3cMQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyKR-0003mj-IS; Tue, 03 Nov 2020 15:34:40 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFT-0001o4-3b for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:32 +0000 Received: by mail-wr1-x441.google.com with SMTP id a9so18973065wrg.12 for ; Tue, 03 Nov 2020 07:29:26 -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=FEacfaBdqZh0B7ZbNsNCq6KuBVk2JdD7zBiGgdEC+rM=; b=s+kNyl12YcpOWADRKsYIAX85d2Y+TyOnhAabCNx+LxR22W+AmrrYRBaMgLkPWopo/5 7uP8bqlYAbV4+/XpIc3jPFk2zLocfTvOibSLY28XCdh4vX9CQ3A6S6obeCKSL128ZKde IUfCB2jaaXW4Aw0zAEcjiHTstIBCsV3o6WOPZkY6EoEmmnzhFgBNWQA2+q9QyBE6LxPS 5hhAogHZCa3TySM2jWzne/oUbTXdd4XgG6rlImo+1uYOMZyx6W7BtMhxyKswW9JJ+eQ4 n8J6xXJbrLi7f2az/euKyuH98sfpTpOeZQu1MJN6Jnsl+S6nwJiTFzixM+pte/8qeWq0 Vr3A== 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=FEacfaBdqZh0B7ZbNsNCq6KuBVk2JdD7zBiGgdEC+rM=; b=KwVdhMR644taV20v4xT0yvjEbPAT8mZ1E/ARkKVxUORRhrmVbnNy7zIafZA6hNLbvv YyuX4VlfF9yfvHbdkIvWEumgINOhAQxcbs8DhK/feH+WZhRE96DtmKdJe3CYvAOCCZ2N +irwGf9NwJOvO8lBURzEfWHFOXA4OO9hPPYVCAhYngUD5eKPjqOOcVEdF0RS4nCFi5in U15Fu52fBd/Jr6cT+iChxY2O8UnQNRH4heQFLTgF3VXKWFhBpKq/odLSUj9WwXSw3V2c bXsqkS9C8Wa7wWFcFRAYYJHzegn/E107CH8SrFdf0AlYI0w4z6rNAq72u+EUKmugEj7M v+qw== X-Gm-Message-State: AOAM533KYCZd7i5/ziungQWHZNEUJJ4bAkeDQRWJsjJoW9t62BtozHKP PiZq18llaQ/jOtXC1qtBI54U9g== X-Google-Smtp-Source: ABdhPJwn2pLskNkvhAY/Gr51lofYiHg1wmA60U4MxqpI2ygU/qoTBAf+G3wkkETqQEnhrErhskA1Og== X-Received: by 2002:adf:8366:: with SMTP id 93mr26923191wrd.6.1604417366022; Tue, 03 Nov 2020 07:29:26 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/25] soc: qcom: qcom-geni-se: Fix misnamed function parameter 'rx_rfr' Date: Tue, 3 Nov 2020 15:28:25 +0000 Message-Id: <20201103152838.1290217-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102927_405910_5C24AF8C X-CRM114-Status: GOOD ( 14.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/qcom-geni-se.c:85: warning: Cannot understand * @struct geni_wrapper - Data structure to represent the QUP Wrapper Core drivers/soc/qcom/qcom-geni-se.c:246: warning: Function parameter or member 'rx_rfr' not described in 'geni_se_init' drivers/soc/qcom/qcom-geni-se.c:246: warning: Excess function parameter 'rx_rfr_wm' description in 'geni_se_init' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/qcom-geni-se.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c index 7649b2057b9a7..9da904d137dc3 100644 --- a/drivers/soc/qcom/qcom-geni-se.c +++ b/drivers/soc/qcom/qcom-geni-se.c @@ -82,10 +82,11 @@ #define NUM_AHB_CLKS 2 /** - * @struct geni_wrapper - Data structure to represent the QUP Wrapper Core + * struct geni_wrapper - Data structure to represent the QUP Wrapper Core * @dev: Device pointer of the QUP wrapper core * @base: Base address of this instance of QUP wrapper core * @ahb_clks: Handle to the primary & secondary AHB clocks + * @to_core: Core ICC path */ struct geni_wrapper { struct device *dev; @@ -237,7 +238,7 @@ static void geni_se_irq_clear(struct geni_se *se) * geni_se_init() - Initialize the GENI serial engine * @se: Pointer to the concerned serial engine. * @rx_wm: Receive watermark, in units of FIFO words. - * @rx_rfr_wm: Ready-for-receive watermark, in units of FIFO words. + * @rx_rfr: Ready-for-receive watermark, in units of FIFO words. * * This function is used to initialize the GENI serial engine, configure * receive watermark and ready-for-receive watermarks. From patchwork Tue Nov 3 15:28:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878145 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 5AA8AC2D0A3 for ; Tue, 3 Nov 2020 15:37:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 11AC320756 for ; Tue, 3 Nov 2020 15:37:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="brtkBGqk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L+rhBqZr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11AC320756 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SQcciNSOTYXPNWmOSkCleGBP+cEqfKQs1lNMB3CmlIc=; b=brtkBGqkaf6Qbi0VY6txWhcCh azwlVkmRANyCj+eL9Gh3jLVyIb7rL6TpHUgSTCvS1O2P0atw+fhxaBy68DTGPL6qrDohAJ5VL/38a ef5FBeFn6fTaCUJlSMTao84n6xsQczCc817JgmHMiqAF83KvgtTUN8X/HjR0ysdMVFZBiJCED5ajY maTcDNMxdrI9ESgvJ7yMWx0TYe8tZmJkLgyEUGZ/dR0WApxqiF9wlTGIRqaZoTgDhPyqktVdyGlI/ 4DO2TUdKBeQaiIPusp0BRETSZl4EPaZt4SAtX+4plrqA8qpVbk86/OabkxguKzw9zAIqslk0Ux+28 D0pF1kqrw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyKA-0003fF-6J; Tue, 03 Nov 2020 15:34:18 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFU-0001oi-AZ for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:32 +0000 Received: by mail-wr1-x444.google.com with SMTP id e6so1755786wro.1 for ; Tue, 03 Nov 2020 07:29:28 -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=Qv94/ZM3OqIsQyfdq7kooGkcEz2R43AMJBBXVeVvpSo=; b=L+rhBqZrPHu1hMk1B22ZMBfbmQcnJ0oxUE5hzZb5mz8WPKFp8Irm6wLb/BoAYAGObo tSxaPFW95ouiwZYjUWz278/JMULIRP2VPYu8BVG3gMLhowzjU3m+XAlKZq0sdsuest3Z 4eyOZt+VL1msl/6VEYJHesJUH30lpWqThKN0ZpxXmW2u6ccKslvvqCohzNBoAs+ineXA 2BPZb7V9KaRO4cz2r5AI5o9RdGz9AhpUsPQEX6w0jTgQ8t/+3pIBbn6rUsyhqCmwiREp XBTgfOHpWv0TYR0TJP2Rqc9tcZG50ye8Mr/me6NBbNksf36o+Eh1YwiIly8uHrviOnHh 1uaw== 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=Qv94/ZM3OqIsQyfdq7kooGkcEz2R43AMJBBXVeVvpSo=; b=aTlzxKZ5PRq08vJQoLZCZJzFmcrRGYlWQPFNvXoi2YEsiQoufP1H8oMc+WgC7RItEm BdCDeomKfnNIABw5eojOtoTPn0zg4eBoaF3xNiRl2wraVDpQ9NVmOu0wq/7rh74uke8t zSaukIBGGmF8QS3ySNKDmLNMJgOIpxdCENcz6y0o7DRncvdqWpflUeLI+rM/k3Q7c2ML ZDyt3+t+1nAJbiI3o8xx2YhlosetJxZXzLYLKai86PnUsV/JCyZUPexr+nONqcIUe0z4 UuiyWThm2p+Ge1eLTiX/JN+NMzUdA6M5W8nbTmIK+MDP0wLEpaSwSRZFG/J6+Xs4jOrz EHoQ== X-Gm-Message-State: AOAM530alXWQDfckai5puFHEEPIxkgBYQQp1yKxRGeK8NVmLzk7z74lt +iA7zcTWz1n4Y54k4BcHrrDoxw== X-Google-Smtp-Source: ABdhPJyi9NazTE0zqEusEgvnUgW6JGZ1Lvjk0NIvtCyycOcgTQlu920h1Fnh8OqEBdUqfddyju0fqw== X-Received: by 2002:a5d:46cf:: with SMTP id g15mr28534047wrs.342.1604417367277; Tue, 03 Nov 2020 07:29:27 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:26 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/25] soc: tegra: fuse: speedo-tegra124: Remove some set but unused variables Date: Tue, 3 Nov 2020 15:28:26 +0000 Message-Id: <20201103152838.1290217-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102928_603877_3E3DFFC7 X-CRM114-Status: GOOD ( 13.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, Thierry Reding , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jonathan Hunter Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/tegra/fuse/speedo-tegra124.c: In function ‘tegra124_init_speedo_data’: drivers/soc/tegra/fuse/speedo-tegra124.c:105:38: warning: variable ‘soc_iddq_value’ set but not used [-Wunused-but-set-variable] drivers/soc/tegra/fuse/speedo-tegra124.c:105:22: warning: variable ‘gpu_iddq_value’ set but not used [-Wunused-but-set-variable] drivers/soc/tegra/fuse/speedo-tegra124.c:105:6: warning: variable ‘cpu_iddq_value’ set but not used [-Wunused-but-set-variable] Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/tegra/fuse/speedo-tegra124.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/soc/tegra/fuse/speedo-tegra124.c b/drivers/soc/tegra/fuse/speedo-tegra124.c index bdbf76bb184fa..33747a2e54f3b 100644 --- a/drivers/soc/tegra/fuse/speedo-tegra124.c +++ b/drivers/soc/tegra/fuse/speedo-tegra124.c @@ -102,7 +102,6 @@ static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, void __init tegra124_init_speedo_data(struct tegra_sku_info *sku_info) { int i, threshold, cpu_speedo_0_value, soc_speedo_0_value; - int cpu_iddq_value, gpu_iddq_value, soc_iddq_value; BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != THRESHOLD_INDEX_COUNT); @@ -118,9 +117,9 @@ void __init tegra124_init_speedo_data(struct tegra_sku_info *sku_info) soc_speedo_0_value = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0); - cpu_iddq_value = tegra_fuse_read_early(FUSE_CPU_IDDQ); - soc_iddq_value = tegra_fuse_read_early(FUSE_SOC_IDDQ); - gpu_iddq_value = tegra_fuse_read_early(FUSE_GPU_IDDQ); + tegra_fuse_read_early(FUSE_CPU_IDDQ); + tegra_fuse_read_early(FUSE_SOC_IDDQ); + tegra_fuse_read_early(FUSE_GPU_IDDQ); sku_info->cpu_speedo_value = cpu_speedo_0_value; From patchwork Tue Nov 3 15:28:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878131 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 30CCCC2D0A3 for ; Tue, 3 Nov 2020 15:34:59 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC2B620735 for ; Tue, 3 Nov 2020 15:34:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OC91Qe66"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="doDInUww" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC2B620735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=axr+FimRQsc/zIcaUIjQmSf4+a2tM+cJuDIDATZB7Pw=; b=OC91Qe66CZw8pTonXUIFyEaX4 N4xB7maNlYwHcJkL8PV4kb4c9CrIIAEdiOWytn8b+0Ggj3We9ht6MfcJq+PWLCPk/iNTl9747JXne NKUcLhMx5C/KTnSLlOfLSx/cSd7n7j5+Ezb7/257MQjl33+C0LvBkcWeW1As+sOXSrwRz0FqleXpJ nDg8ENvQmmoW1YlCcJcN4FdldX8ZjhH1F/lnuRtSu07S1Imm3/asL8OJZhLCjg/2HyYWMVXIEJJQr ZiuXkzkaDlQ66kOgPcqEaDU66OThrEJpVKFXUxMfGe1wQcLY5yFDepgoz5YGQJqAA7J8MEasP20+W g3CLedSYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyJu-0003Vu-2y; Tue, 03 Nov 2020 15:34:02 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFV-0001pG-HP for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:32 +0000 Received: by mail-wr1-x444.google.com with SMTP id x7so19026584wrl.3 for ; Tue, 03 Nov 2020 07:29:29 -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=KAOtHAc1bsJpW+rLliOxjaTckSKYVoP83N5QdT3qSsE=; b=doDInUwwodLhGXQs8awNNS8kXdhdZIg/tUhIdyz9t4xqY/0Mm/CcWlW4ckUbGn63PM nkZKOLW37j2rDl9MyotYFUDWfXtNZQ75o3MbwJ7H3xixJdrQHv0oNn0Lq9pNBCAQ7n7h 0EE68rUTJuLMPHJgUkt1zmz2dG6K/4IlcfiC/kd9FUmWn3xD5iWrTE3dFm6HS/ADLV9t 1woLUC5MSyOmhYkRCGrGvd+ZLNGAl3aMqCQsppZeegy/sw1+CUg5pugsgGh45ENGXOQ7 TBdBtMAiD2bwi4YZjlqLr6KrHWoorUy0Ow7zXD6U04GhFYSQmnT12/sN6/bLqIEJg7qK t7rQ== 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=KAOtHAc1bsJpW+rLliOxjaTckSKYVoP83N5QdT3qSsE=; b=KpJLojwPIvRkl+goDv0opju9GEYHXHg0sQDjunJ0RfE+Uj3J/Ri1FYke1P+Bfh40EM C02t/kU2GUqniP2hYI7k/ekAiWcg5kCHdQjaqj4huOBT16Tdhv7JVTcYbq7QsUvYMQ/I gtHHeUFUHM7F6Vp93NQOYwEzjn3TS0NNp26APw407cY8Ui79WawGr1Ku37RsWhHtSSr2 PMZ9ECAR+KG2B8Su5pcN5P+nwY6HuHKAI7VY+AwXf79H9n8iatHu6PY9HZV2FB0L9UKQ EaSJWfz4yDbXSi+ckeOvk+xNscteJUvuoahnVvlNNu5niy4Htf/EcRUf0MnjU6u+kDx/ tRrg== X-Gm-Message-State: AOAM531pmohbF4vJbylRdLw1smp6M6ixXnL1RVBCI5B1sYKCrbwm2SWk l9uup8tJZ6gxs8NYefXZV2+pFw== X-Google-Smtp-Source: ABdhPJzjZkSv+KzIvPwjWBSTfMSDm6x9636dav/awqODx24ADwz3jbCIg5PoHjTLCYH52ivoPVhyPA== X-Received: by 2002:adf:c101:: with SMTP id r1mr25706240wre.87.1604417368565; Tue, 03 Nov 2020 07:29:28 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/25] soc: samsung: s3c-pm-check: Fix incorrectly named variable 'val' Date: Tue, 3 Nov 2020 15:28:27 +0000 Message-Id: <20201103152838.1290217-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102929_795726_C0F59CD5 X-CRM114-Status: GOOD ( 16.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ben Dooks , linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/samsung/s3c-pm-check.c:162: warning: Function parameter or member 'val' not described in 's3c_pm_runcheck' drivers/soc/samsung/s3c-pm-check.c:162: warning: Excess function parameter 'vak' description in 's3c_pm_runcheck' Cc: Krzysztof Kozlowski Cc: Ben Dooks Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/samsung/s3c-pm-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/samsung/s3c-pm-check.c b/drivers/soc/samsung/s3c-pm-check.c index ff3e099fc2080..439d5c3725125 100644 --- a/drivers/soc/samsung/s3c-pm-check.c +++ b/drivers/soc/samsung/s3c-pm-check.c @@ -151,7 +151,7 @@ static inline int in_region(void *ptr, int size, void *what, size_t whatsz) /** * s3c_pm_runcheck() - helper to check a resource on restore. * @res: The resource to check - * @vak: Pointer to list of CRC32 values to check. + * @val: Pointer to list of CRC32 values to check. * * Called from the s3c_pm_check_restore() via s3c_pm_run_sysram(), this * function runs the given memory resource checking it against the stored From patchwork Tue Nov 3 15:28:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878151 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 79FB4C2D0A3 for ; Tue, 3 Nov 2020 15:38:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B7C1A20756 for ; Tue, 3 Nov 2020 15:38:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HQlhRGCZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TWneApmG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7C1A20756 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=djXGCRhKG2OwxZj3i1/ktwa7sQmtWwsfBh9xCebAS1w=; b=HQlhRGCZvxn9PYaiDTE40IUxz u4167z/ry2xbUK7xuUHhL8/PJSUyaJh+4nPVJAZKc9FZF/Zttsys3mPAGzEjOUaOzlD0xpAnlJUon tHTP2bXtixmLxMzSndhVMt7Br3hllXWC5ZUfkC/aDynT5Chw8a99+3VZGqjj80UwTDp4HvQZSCrEE v/2RVG36CrGPylAJEDxTt/uef2/0n8LJKoei6L8WDF8fVTzScxwY4lB5OiGNUw3/YRQ5dQon5C4vB i13AZ8ceb2H3YNCC85fEdqUphbmXvQYyH+B0KQp2358qDhOagWiLEgTObHUHBQUW3ZJq4mYA0U8/g IJRbowEsA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyKn-0003v8-RW; Tue, 03 Nov 2020 15:34:57 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFW-0001pw-P2 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:33 +0000 Received: by mail-wr1-x443.google.com with SMTP id 33so8204449wrl.7 for ; Tue, 03 Nov 2020 07:29:30 -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=F5XEFxf3V3a/7KJuxM4jGDFH/VFMglui44AFEjsXTa8=; b=TWneApmGdiFuxJnI307W1fbIDdA3pgj4MFQbUWbEY5qVeFgEVompzAecKUyLT0YHSq Br8HxIFcSCzUouyHOtW6ibcdKXWIsjnysbKv+KN+xw9ZdkMPm8gW1MQ/bqOmQGKUnyxN RyItJwLxjp5HcpWcJPSEUFaUfCte7diB/Hsu37Ae7h6xsBKHJ5pUgeAFtGfOt9t3uV8b T0lvNYaqGBlBO9MP20TzPHtZuBOa34rPEXoYHyIw5hD92oNwCt4BsMSrZv53PdmJW9mI aRGlU3c7SiT/lwdEtToWYkvLdMJRrh8MNzfGg9vozs3PIU/90iz8kZzoamn/Dbbb2mbn iF+g== 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=F5XEFxf3V3a/7KJuxM4jGDFH/VFMglui44AFEjsXTa8=; b=QbSQWBEcZAvIOabWMFrL+zLXqyNpuuym14Z36mcailAbeT8ZeeCZFhJye15qWH1o95 Gh11cngXVCgx2R0n4R91jg1WzUQgPRsZSk4TBwdEVlTs3pHxamJMyTl+Ss329W9613uU FYTDyqTP9k7vwPxtaH+XD5NBQUDYjNTP6+F3XfpIvxL8ShFAySXHYF2JWtILUEF6++G2 BFUVM2nbZrOB9nbXXeJS3rke2lqJUtjL7JVEM1vMZlNPNaHnHzTdNACe/wteUEzQmEdv z0pb/H1lYD9VqF8oKTInGGmLJ7q6HAtKGGQhTaeAu7k6G2Hr4EKOzynMz+WbutFJ9tZW AzOw== X-Gm-Message-State: AOAM531NQCSeL/YPk35OeLAmwcnwZmWvJKVTWepaue76+ARs6u2nJ6My QXoQ5hzSv2N7yh7jL8q5cfFC7g== X-Google-Smtp-Source: ABdhPJzMxnEx44QOmexRXCOsJZJfTIEAa7PuWZb3XF7kaMsp8G0uEviimi1EFwiDd3bvXYdgC5XU1g== X-Received: by 2002:adf:eb4c:: with SMTP id u12mr24896182wrn.73.1604417369783; Tue, 03 Nov 2020 07:29:29 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/25] soc: qcom: rpmh: Fix possible doc-rot in rpmh_write()'s header Date: Tue, 3 Nov 2020 15:28:28 +0000 Message-Id: <20201103152838.1290217-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102932_500223_0ABF2656 X-CRM114-Status: GOOD ( 14.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/rpmh.c:266: warning: Function parameter or member 'dev' not described in 'rpmh_write' drivers/soc/qcom/rpmh.c:266: warning: Excess function parameter 'rc' description in 'rpmh_write' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/rpmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/rpmh.c b/drivers/soc/qcom/rpmh.c index b61e183ede694..ad1f062620ff8 100644 --- a/drivers/soc/qcom/rpmh.c +++ b/drivers/soc/qcom/rpmh.c @@ -254,7 +254,7 @@ EXPORT_SYMBOL(rpmh_write_async); /** * rpmh_write: Write a set of RPMH commands and block until response * - * @rc: The RPMH handle got from rpmh_get_client + * @dev: The device making the request * @state: Active/sleep set * @cmd: The payload data * @n: The number of elements in @cmd From patchwork Tue Nov 3 15:28:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878141 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 CE37FC2D0A3 for ; Tue, 3 Nov 2020 15:36:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CF9820735 for ; Tue, 3 Nov 2020 15:36:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sV9MtM+0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LVNw/niQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CF9820735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yIeRo0q4hdbF4hHOdRhsRJCV6Fe1Mk37DosraHaksrw=; b=sV9MtM+03MKwPs48/zD8upkOh pnaNa+7CprgUYXggyVhaEYugAXdr4rWgLRRuLrrHHrIsWdgVSv5qlKUfvhIr783oY7i0z22Aw1zvP YdvaOfBaLhyyVb10pFQEQgOAN+y44WvcZ0mp8h7xQaWOvbUmBuN4WKmFaKkqnVz6BuRZe/HP6C+Pp kOkR7T4tBoDEJFI6skxcAPXLJ5YVlUUsIC/UX+gT50AHZ9rPzwFOIDnAupmNIHBEl/CSjeL87YoPX bT2B/bpyec9W9Utw4HZlIVvzu9zBNz7aP4dJAF8+EQRmeSqjDBwYSuC8e7RZto8i9K5WoFrx6qfv5 DDLRrxClg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyJW-0003IT-Sb; Tue, 03 Nov 2020 15:33:40 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFY-0001q5-5X for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:33 +0000 Received: by mail-wr1-x443.google.com with SMTP id w14so18975366wrs.9 for ; Tue, 03 Nov 2020 07:29:32 -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=BTdnnrRVuCbgQS2De8FJKm0elKhLf/t/tAH+rByd77A=; b=LVNw/niQDAW9U7ijNZkhMS5ThcE3Jvp1uQvhf0orWmEtKn2CTN9GW0y+S2nuI3TkUP 9YzM8gG6PxBhLWezVef2ftvQMHKTXdvz5YynRQPSOskmRGlTGP50XRRVVp0SnM1P86lJ lRTwtO+SFwmzD9DWFSLR1S4zQjSqQCBPBsLFAYXOCxV+wBg3Tt6qTCSgA3NSjApHInUk 7lgDysC3A4RQpdlLpRKt35LNUbNxLkMnGb72huwi8QO1/6nexal6XGW2GJ96Ffn/t97a E/863EOxVDf06cKGDxLtq0iB6Uu5H4AUBlunSAf6eXkcwnIWcfqHdvS8oL2QTOXQxvOE NvMw== 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=BTdnnrRVuCbgQS2De8FJKm0elKhLf/t/tAH+rByd77A=; b=W7dGQ0ZuO+SOAGv1jtiTBe9Xc6RDOp/iN7lpHI9h95397k++4JGANaYZsTm8ktyopu yYrvf39wN7EgpkuCTfVcT9EjJqEG5uRwhUGJpwQY3nbkXVmGK/NbIsZHu2UHK0rz5k0A 30HZ/68eeCsTJ6JNIhIm7iuDtOCmthC6tdJ2wo1esT9ptaoYdYQ3cN9i2AMpQaSyPUPf xlZf3JyaG0giyyaZyrtPiYcFbqPcqfl+nah+7gHwVQV/mzrK18lNVK68nYlBpdEtYBxb Uc5Ubf9a7DP8lqFsmwq/FBFG6OEL9xehL822ca9QfF1Zr5rsjOOW4kckY+ovHNsR3gnE PwrA== X-Gm-Message-State: AOAM530qSIIw9GZ4RioFqCfksb6IgWYU+Re9YeI/IPr7w+NjLC9gpX1G NqqyG/HPa+KiGK8U75T6ZYxi6A== X-Google-Smtp-Source: ABdhPJxSK592GbXUg76+lrIYFwt6ZRAQ5oj1sTAb7oGVb8E0cWpfd3EnUqKOOq2siJj50icyAKN3Ww== X-Received: by 2002:adf:f10e:: with SMTP id r14mr25710602wro.337.1604417371320; Tue, 03 Nov 2020 07:29:31 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/25] soc: qcom: smem: Fix formatting and missing documentation issues Date: Tue, 3 Nov 2020 15:28:29 +0000 Message-Id: <20201103152838.1290217-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102932_723210_1A9BF18F X-CRM114-Status: GOOD ( 13.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/smem.c:135: warning: Function parameter or member 'toc' not described in 'smem_header' drivers/soc/qcom/smem.c:275: warning: Function parameter or member 'socinfo' not described in 'qcom_smem' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/smem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index 28c19bcb2f205..7251827bac88d 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -122,7 +122,7 @@ struct smem_global_entry { * @free_offset: index of the first unallocated byte in smem * @available: number of bytes available for allocation * @reserved: reserved field, must be 0 - * toc: array of references to items + * @toc: array of references to items */ struct smem_header { struct smem_proc_comm proc_comm[4]; @@ -255,6 +255,7 @@ struct smem_region { * processor/host * @cacheline: list of cacheline sizes for each host * @item_count: max accepted item number + * @socinfo: platform device pointer * @num_regions: number of @regions * @regions: list of the memory regions defining the shared memory */ From patchwork Tue Nov 3 15:28:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878135 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 B2485C2D0A3 for ; Tue, 3 Nov 2020 15:36:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4483E20757 for ; Tue, 3 Nov 2020 15:36:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dgqlPhKz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mUHzgMDh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4483E20757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JHC0Acdwnf9sJyce5IMdOxvR3XL9192FCBJRnbkSGcs=; b=dgqlPhKzF5vkBrZNLHwrXsoyb g6tZtsUN2Ux0klS1AW5pt8PUTdY8lxDC5Bx9q8R6+8Ab4JByiw0Fy8Ls9ltLkmCEHozGlezBfw8U4 RPcwJxOqeclFVD1yfSuP8lhOUJX/87REyC1FtH/2o3UvtoD6fA/NijxIQiBEGWllll6MaUmPXwg8b pfGxfj5AU43KvTgPS9nv6DJCHSdG/MvzFM3ykzxAml2pluUghVtty0DuyMwL/aCGew1yZ5Xb9ea/w H2LghPkodEgLSUVylUgMqeOTt0SBuBteUUUaNZzrhbxGPgz0mCVXYr9gV3QHv+XJLr8seDtk4jhkX 53PTQslcg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyL0-000420-Rx; Tue, 03 Nov 2020 15:35:12 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFZ-0001rB-N5 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:35 +0000 Received: by mail-wr1-x441.google.com with SMTP id w1so19039530wrm.4 for ; Tue, 03 Nov 2020 07:29:33 -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=05S3ru4tW4mcaDRoeFk8QLKhxybxsfGcFNjhW6F8wDA=; b=mUHzgMDhCaONSYhvmw/ALRA7QndQYhUnZgTu7ZoaTFh5kihM3G/YdksvozD0IgEffI pkycfuihbdujTsBIL5+VnxXSwLlDtyR9KW9IE8011+Gz/K0CGkTgsLoTj5OJwGeufpQK sJ5F5ouNBch0vfaJcEjAGYFUC1L/b7DEHtGLSCKtVfhzVnTnG12d8pLPOp3fYtBjcTaI hAnquaFCoxWyZ7cWArrkiChK3XacR3l2bcrfUn1J5rokQhVfW8aCmLYwS6fZNeTLOZLx cLW5WTrrJxIVyg8kqBeOJVjYH9wz2Gt0OSb4rzGbC2teSbTZosg+WsN/Xvu76fExJZch EVgw== 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=05S3ru4tW4mcaDRoeFk8QLKhxybxsfGcFNjhW6F8wDA=; b=DJ16wTl+Cj+CxMLWUR7Fl2SZs228eV1VME1I8hg3qchXTroTkGH06fE326Ln4LEBZO M1UzDlhl42fbC8qurLRJAFy06JSELaqjAbOrJANlg8CTC/mWVtYOmLisdl6PAXPGLWox R5k/S22yT7AY1sY69P1T5X9RvR/ZVtRoUIwJcTdtu5RTEqUWNlI3iNCn+98KGtXqVOHs ODjnY8cQDx6w72RifvwdvbzFoG+ANgNjsQaVvaCAAlNeB+eRafbG9NfBsASG5QUF3v3e Y7XjUuBW2BwVettJc5pyzvyic8drcoxT3LZze3aEN71r0ASAYqws8l/pKjvHbw44rZwl fFQw== X-Gm-Message-State: AOAM531k64HorsITPBrPtyfHpkZsyHT/uOhRLq9g9/2J1fortoC7LmQL C40B0hcWhwCTVO4AwgdspdVeqA== X-Google-Smtp-Source: ABdhPJzDNOQApkc32dJ66+dO6QtsCwF2WE0kOXaJCzV+lWdTifAu4mloBHleqsSF6TcNi+erSSQq7w== X-Received: by 2002:a5d:4ccd:: with SMTP id c13mr26793520wrt.221.1604417372710; Tue, 03 Nov 2020 07:29:32 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:31 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/25] soc: qcom: smsm: Fix some kernel-doc formatting and naming problems Date: Tue, 3 Nov 2020 15:28:30 +0000 Message-Id: <20201103152838.1290217-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102934_333385_A43078A5 X-CRM114-Status: GOOD ( 13.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/smsm.c:140: warning: Function parameter or member 'mask' not described in 'smsm_update_bits' drivers/soc/qcom/smsm.c:140: warning: Excess function parameter 'offset' description in 'smsm_update_bits' drivers/soc/qcom/smsm.c:257: warning: bad line: drivers/soc/qcom/smsm.c:260: warning: bad line: Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/smsm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/soc/qcom/smsm.c b/drivers/soc/qcom/smsm.c index 70c3c90b997c9..1d3d5e3ec2b07 100644 --- a/drivers/soc/qcom/smsm.c +++ b/drivers/soc/qcom/smsm.c @@ -130,7 +130,7 @@ struct smsm_host { /** * smsm_update_bits() - change bit in outgoing entry and inform subscribers * @data: smsm context pointer - * @offset: bit in the entry + * @mask: value mask * @value: new value * * Used to set and clear the bits in the outgoing/local entry and inform @@ -254,10 +254,8 @@ static void smsm_mask_irq(struct irq_data *irqd) * smsm_unmask_irq() - subscribe to cascades of IRQs of a certain status bit * @irqd: IRQ handle to be unmasked * - * This subscribes the local CPU to interrupts upon changes to the defined * status bit. The bit is also marked for cascading. - */ static void smsm_unmask_irq(struct irq_data *irqd) { From patchwork Tue Nov 3 15:28:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878373 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 2A839C388F9 for ; Tue, 3 Nov 2020 16:26:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A2182072C for ; Tue, 3 Nov 2020 16:26:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="o5pueiOJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sH3tSij4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A2182072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TFFoc2G4pJELstjy7wq5b2t0NGpHtW38+cQi8rQaatU=; b=o5pueiOJ5VHDXNXoy37UqoZ3c Zgr+RP5Auz/s8LggJIZktOZogo3g/xeMNLqPXWD8/TzGEmakj6ugOlv/lb5ldKA7i2Cw8775XIoPa Qbf7pPyT4nqhSYiUPpHyci1gjDHLjXpLxsL1yfKGpXBzydPxi503A6n06pyyb0MSBZBOnooz9E+Ff vzDjKGLJgeOnZuv8WcjMuqgteNK2xnk52tx9D8M25hdt/+CYsRWtCqEmvFP7tOxg8Stlk6Pz8GcaU PjTu00yug3ddrxqZGwzbNFX+q8IfcFG7pUMSGNcOPL4TU3oar7AxbA5PjVyaV0vh/8ZQ3fXLW1ap2 J39jwH1qw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyLI-00049y-Np; Tue, 03 Nov 2020 15:35:28 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFa-0001rV-V5 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:36 +0000 Received: by mail-wr1-x443.google.com with SMTP id 33so8204670wrl.7 for ; Tue, 03 Nov 2020 07:29:34 -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=6LcLORed/eRcqDz+15+2dFY024jFSnB72dDtXU8CVP4=; b=sH3tSij4e2JXoVjfPBQ6g8riNJv08P5aobIjgmRhr+/oMHK6xFROnfShQu9+Uv2TbZ B6XHn9ghMLRkkHOoDh1Ya1eOCQgiakM+fKtKFxQyyLJV52Os4YVWRSanFuJHHzxmunW0 X+SYf5bK0RSU5TibslsGUgzTh3+tha+zXqBpEFehQ+x39MVh+SEXA+INfEWYARmSL7E6 tRCvBH6uFdOHAmnKTpCj7uGCkK3C+gql2NrTMQpsAgfoYJO7Gt6HWfTU7tLZw3yvNwSJ z6zi+pBYs8kVOWjctAFF/5riCzh8fMEPD+A7K467/36DnZAzRveNu6uo62OmN6HTWu14 oDuA== 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=6LcLORed/eRcqDz+15+2dFY024jFSnB72dDtXU8CVP4=; b=oz6SR7F2uo9AghmYnMJSu/Um+IhD8x1YEOTOP7td0CCCyrIesSbYmJcP+Atp/b1Coe +xamS0KxH+lU6o8oD6D2PHaIj3tRF/61T+qTPBKC2aS492VbQlaK1QSoTO84+bUug/Dk SK5iAagAg3qxENAMC4EW8/bPQwlVgZQL9BZghOdMrvL4/ZGuRbrxX6bqkm602nWpTZ9+ FzyxAk70nKljblGr64Bnypa1TzYcH4d5NxN/WcQhGnx1g58dB9iutr7cy6+XCw2sWbLO W9IAiXwLIdtOIiQ41/umTaTP0xo9E0Dgtq6QSDITvi8tQBSbo+QDTIjihM6y+F0ClWX+ zEBA== X-Gm-Message-State: AOAM533N+SEqQZRSmagBea8+K503tdGhwn6hXAZWC1Ni+HWjgxWX2cVI 6FgBHumyHgtzAgEGwyhlm1xHSA== X-Google-Smtp-Source: ABdhPJzmEMb5hlUmWHwxx79VDvjikYpwPHslaSGaQMUNH9Aku0+bFz9qKAtJR2LmOFjS1GfOsx+zhw== X-Received: by 2002:adf:e486:: with SMTP id i6mr26809923wrm.397.1604417373813; Tue, 03 Nov 2020 07:29:33 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:33 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/25] soc: qcom: wcnss_ctrl: Demote non-conformant struct header and fix function headers Date: Tue, 3 Nov 2020 15:28:31 +0000 Message-Id: <20201103152838.1290217-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102935_199346_FAB9ECB7 X-CRM114-Status: GOOD ( 13.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/wcnss_ctrl.c:81: warning: Function parameter or member 'major' not described in 'wcnss_version_resp' drivers/soc/qcom/wcnss_ctrl.c:81: warning: Function parameter or member 'minor' not described in 'wcnss_version_resp' drivers/soc/qcom/wcnss_ctrl.c:81: warning: Function parameter or member 'version' not described in 'wcnss_version_resp' drivers/soc/qcom/wcnss_ctrl.c:81: warning: Function parameter or member 'revision' not described in 'wcnss_version_resp' drivers/soc/qcom/wcnss_ctrl.c:122: warning: Function parameter or member 'rpdev' not described in 'wcnss_ctrl_smd_callback' drivers/soc/qcom/wcnss_ctrl.c:122: warning: Function parameter or member 'priv' not described in 'wcnss_ctrl_smd_callback' drivers/soc/qcom/wcnss_ctrl.c:122: warning: Function parameter or member 'addr' not described in 'wcnss_ctrl_smd_callback' drivers/soc/qcom/wcnss_ctrl.c:122: warning: Excess function parameter 'channel' description in 'wcnss_ctrl_smd_callback' drivers/soc/qcom/wcnss_ctrl.c:272: warning: Function parameter or member 'priv' not described in 'qcom_wcnss_open_channel' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/wcnss_ctrl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/soc/qcom/wcnss_ctrl.c b/drivers/soc/qcom/wcnss_ctrl.c index e5c68051fb175..32bed249f90e5 100644 --- a/drivers/soc/qcom/wcnss_ctrl.c +++ b/drivers/soc/qcom/wcnss_ctrl.c @@ -68,9 +68,8 @@ struct wcnss_msg_hdr { u32 len; } __packed; -/** +/* * struct wcnss_version_resp - version request response - * @hdr: common packet wcnss_msg_hdr header */ struct wcnss_version_resp { struct wcnss_msg_hdr hdr; @@ -108,9 +107,11 @@ struct wcnss_download_nv_resp { /** * wcnss_ctrl_smd_callback() - handler from SMD responses - * @channel: smd channel handle + * @rpdev: remote processor message device pointer * @data: pointer to the incoming data packet * @count: size of the incoming data packet + * @priv: unused + * @addr: unused * * Handles any incoming packets from the remote WCNSS_CTRL service. */ @@ -267,6 +268,7 @@ static int wcnss_download_nv(struct wcnss_ctrl *wcnss, bool *expect_cbc) * @wcnss: wcnss handle, retrieved from drvdata * @name: SMD channel name * @cb: callback to handle incoming data on the channel + * @priv: private data for use in the call-back */ struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name, rpmsg_rx_cb_t cb, void *priv) { From patchwork Tue Nov 3 15:28:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878139 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 D01FFC2D0A3 for ; Tue, 3 Nov 2020 15:36:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 79149221FB for ; Tue, 3 Nov 2020 15:36:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="d+zpmtF0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AXfzYrLe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79149221FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5mXXLkTp5u4i/QYN15pEW9aUglO5auCRvS0ed66a2cc=; b=d+zpmtF0acGCsV+ngQUKwzbqq 7QVIm0RiRpILOggI//haAhWGoi1BNfHzYO78n+O2PapZmcuf/BhGpuJYHciXL1Vi5vXM8NH5SWELz j4Egyz9BC05UfkaSEDLGa4ocR5KJmqkFz8rO+Y8Nn6NYcB0IXpNr50YTTIhsyjqLBT2s1VPyGnD++ a8spASCB55w27usDsH26HfZfeRrE7x5+81IaCbmtNRqQwOFsX+15T0O/XxS/QIg/yBbBUVsxbBlkg TIgkVI8rRZcPAbiGw1AroC1iAPKTpN9gB5m3xvSrXspEEt0bQE0NOcj7ZA10fdbj9KRk8/Z1ZpH++ EI8pcSZMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyLZ-0004Kh-5o; Tue, 03 Nov 2020 15:35:46 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFc-0001sy-EY for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:37 +0000 Received: by mail-wr1-x442.google.com with SMTP id w14so18975550wrs.9 for ; Tue, 03 Nov 2020 07:29:36 -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=74kwsd9s/7RX6OGE0ar+JI4L17MZk/RLlZX6k/SU9Ys=; b=AXfzYrLedCJ+NE7AlPtG+hmlhN/nF5QENjl0mUZ7YnvFu0xKosP6t0qLQ1XQXDnLNB JsDvUFBL/YxT3HQ1mr/v2Aq7mOR6EFnQ6UBkJNh18LTCo4enALf5xuUr6Eu7LQL8XoSY GsomjY4Uc9TbW6Q+wcJadiZDvrzquh/TbWMf4+8mu3RtyYZZ734C0tknnV9SDD8Pzo77 b9iEiI89jIPRA+hMdRlS/7kx2Bs2DxXe6JfXZQdj/5eJR56JQMu7eCUKVrATR/oBubbE OV7D7jldWqGCIEw+xlNRy6AMRKb44cgZXmcVs20Vujg4Zwfoxjijfc89kaLcxU09oxPT BHkg== 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=74kwsd9s/7RX6OGE0ar+JI4L17MZk/RLlZX6k/SU9Ys=; b=AkeMDtLr6q1WVmmN8WG9VZfiazkyMdGoJb1XFw6urN4f7b0DNrAN3p6YiUtAClN5P9 cW5Dwhc9pzH1luRJxA7HDDz4/GWpayeCEQ1ZpTj5GJ5gX8Jzq3w4LLXLMWd/zAvL0olc 0Sq4/WsVgCTAekLARYlGmu6W3NPzNFx8E4G3MGs83YtRrg6o2DF8+tb6B1AHyCrdkVZ9 2pUFoL70QyEq15abijexc/DCwt8coVgVXBpVnP97XAmaLSPkDdRzA8xjE3I82OvF5E9B WhqimEHjIlNQOGwKEST1CAduSv9zImK7rQsbm9IfvhshhC/8LbtjLMkcgBoiDjRW4Ye3 LfGg== X-Gm-Message-State: AOAM5330hHIqz4ExEAzd0e19d1DfK0zKgnG0jdqnyNz/2kIAFNu4ueOK uXd1NegSVHO3tUCxr5un5E0XHw== X-Google-Smtp-Source: ABdhPJyWd/yVeEtZYcJjICLwCYXFcFOee58ZBQbIsf5UdHE9S+K9RsdiLWos0KT8fPT+nG9qXPr1vQ== X-Received: by 2002:adf:8366:: with SMTP id 93mr26923860wrd.6.1604417375245; Tue, 03 Nov 2020 07:29:35 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:34 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/25] soc: qcom: smp2p: Remove unused struct attribute provide another Date: Tue, 3 Nov 2020 15:28:32 +0000 Message-Id: <20201103152838.1290217-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102936_884752_E20C014E X-CRM114-Status: GOOD ( 14.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/smp2p.c:74: warning: Function parameter or member 'flags' not described in 'smp2p_smem_item' drivers/soc/qcom/smp2p.c:149: warning: Function parameter or member 'out' not described in 'qcom_smp2p' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/smp2p.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c index a9709aae54abb..43df63419c327 100644 --- a/drivers/soc/qcom/smp2p.c +++ b/drivers/soc/qcom/smp2p.c @@ -52,7 +52,6 @@ * @remote_pid: processor id of receiving end * @total_entries: number of entries - always SMP2P_MAX_ENTRY * @valid_entries: number of allocated entries - * @flags: * @entries: individual communication entries * @name: name of the entry * @value: content of the entry @@ -65,7 +64,6 @@ struct smp2p_smem_item { u16 remote_pid; u16 total_entries; u16 valid_entries; - u32 flags; struct { u8 name[SMP2P_MAX_ENTRY_NAME]; @@ -112,6 +110,7 @@ struct smp2p_entry { * struct qcom_smp2p - device driver context * @dev: device driver handle * @in: pointer to the inbound smem item + * @out: pointer to the outbound smem item * @smem_items: ids of the two smem items * @valid_entries: already scanned inbound entries * @local_pid: processor id of the inbound edge From patchwork Tue Nov 3 15:28:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878649 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 45D79C2D0A3 for ; Tue, 3 Nov 2020 18:01:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE3C020735 for ; Tue, 3 Nov 2020 18:01:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BV/ddDUI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="entA0LCy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE3C020735 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EgeLSN5hTNsyuiSIiKqitmUjPjrQ6HuiiUE5Pnne/cU=; b=BV/ddDUIUxM/MNfL7Zt/IjMzz itnDkCht6R2fNvE+MJz7niEy/FLoRcjvIEIcDPrqzbQzKvLYWmTUIcp+Wbp8sfVBzZkH/FAEYVjGj euxogpIheiywObcH7aDjgH5VnD2hvOq5bHaQq8M5lCEh08jC0FO5zMYTK8jhFyuKxY/vrELA+0AKK Ga5CBQ4Zv+bNR4JkZ0cf2giwcDsgPo4Kx6hjXPtBz3xu56EOCRtY3YPhiEjV3jmfiPwnokdX3RCeE 5L3cT/CPp4cBNIyplXEVvc+E83qXhjqpBmcorHGQZ7NA31xe8rFKeWod6c9tLd2sqIWnMRyLtdrjZ NNK013Qxg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyLp-0004Sv-Uo; Tue, 03 Nov 2020 15:36:02 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFd-0001tk-S7 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:38 +0000 Received: by mail-wm1-x342.google.com with SMTP id k18so13188575wmj.5 for ; Tue, 03 Nov 2020 07:29:37 -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=D9HeGsxvKVawBcXNJ6v57mMay091Ux8L9MQhRC+7UxI=; b=entA0LCy0HsF5//YDWm2vkxB0poG10u3ZgQBM1Jzl2lAwG0ebP5AeBXBVZrj+4zWAo wRTUK2XgEAd5UjXxCATL7NsklTHXij7E+1PP5JhgHE+zF8XCoOs7tRVMLZo/2pO8s+cz Cl4vurABP3Af6zJILBkIy/0gRI6HcITUDjEUZMFIL2l1Kvvg8S7zWcxCsKlnsSvS0qu4 bB5fJtQLHor4P3Y0dz8oD9IhMZHHnZElYXXubgk/WfNArg9AakN1aAqmQ4/biAgpUq// JwX4TnkAX9sTatGMvezEA5984QQ7v8Np21gAH9rkMTh2M3UgSjr94TmJVpHfZfYPG+J1 d99w== 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=D9HeGsxvKVawBcXNJ6v57mMay091Ux8L9MQhRC+7UxI=; b=e6sV7D41OQ3PjKn9oBSgKalb+MtPjyH9TX/7sCzQ5KYhLSnMAZih03jjtieeEK0Um3 RwqP+lochEm/jChS5TiQ+z0herGbcYtsDWiFUWnWnXO3LipCVvfyJOLqPqV31aryBxXK GHlUEu9I+dZ1agOZaU8qT+D96QhWqkuuy/zzpTt09koa6S2Q3ZUlbKC0Oj01u1bgBTZV ucEmgNM60851nb6fU7yJs6BY4pDQU0ygDdJWhA/AVMqAkLC5WAwedFjXWZctN4QDwjS0 9jJMxBe4UxVyyEQLpsDKpy6XvpC9ntdAODeiSNp1GOtnCKvCE5VQnLoZhWjgmSJxN6zS MKBw== X-Gm-Message-State: AOAM53015qn/AnmCkxelfYnujT37z1Q+L0InXNSojWjNwlTsnYN/DDwG bnhlxNK+VWMIlia853/mZvzrvg== X-Google-Smtp-Source: ABdhPJzGiC8X3u2Fty1nH3f/cEFOA0UcOPewgB4JH/Vd/Rzcp97Okv4uL4Rqbsg0ULTsTtdBPqAXJA== X-Received: by 2002:a7b:cb09:: with SMTP id u9mr294528wmj.49.1604417376519; Tue, 03 Nov 2020 07:29:36 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:35 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/25] soc: qcom: llcc-qcom: Fix expected kernel-doc formatting Date: Tue, 3 Nov 2020 15:28:33 +0000 Message-Id: <20201103152838.1290217-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102938_025917_A15F66D2 X-CRM114-Status: GOOD ( 13.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Kernel-doc expects struct documentation to start with 'struct '. Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/llcc-qcom.c:77: warning: cannot understand function prototype: 'struct llcc_slice_config ' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/llcc-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 40e7df1e1cbbf..96c20e673436b 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -51,7 +51,7 @@ #define BANK_OFFSET_STRIDE 0x80000 /** - * llcc_slice_config - Data associated with the llcc slice + * struct llcc_slice_config - Data associated with the llcc slice * @usecase_id: Unique id for the client's use case * @slice_id: llcc slice id for each client * @max_cap: The maximum capacity of the cache slice provided in KB From patchwork Tue Nov 3 15:28:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878143 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 BF898C2D0A3 for ; Tue, 3 Nov 2020 15:37:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E36420756 for ; Tue, 3 Nov 2020 15:37:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JMWbrtlo"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QpMsmQO6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E36420756 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vjXFEhDwQPzbMtBTigZWVfzVpR0mCfLIxuWv870KhgQ=; b=JMWbrtlocx7YYzq7nLV3ayJL3 zIEhF7SzT4gJYC53H259HG2L0KtfMGEtL4MyfgyWLTPAmhpaFQohwbXTeFeu/MAfZVBuM1Ol7wXJU yFJiXqq8Flok5HRqBOpbdTEMikQuPYVMChYvjlXoK64dV2PFD+aM/0tTmlk/yQzGoplIVtYZhnqJq p8q+6wepreqDsGrujzsec+3tS4jQvQYAt6V5ZgKPw7cZifA2gQgOBwLZoYBN3gqAdu4tSzJSWIpvW rVPeT4Z8/pC6i1fc8Hbgf/zhivuPsyyUnKWqmeCrpf4AT1wsf0aC20aXnHFmaJoMr5n0pKjdCIJ3Z SIo+NMgYg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyMR-0004hF-5a; Tue, 03 Nov 2020 15:36:39 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFe-0001uY-P9 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:39 +0000 Received: by mail-wm1-x342.google.com with SMTP id c18so13167137wme.2 for ; Tue, 03 Nov 2020 07:29:38 -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=hKLhDGotVpYlSY7XT5Gezu7H9CaCp/SMWpqDth9yk3U=; b=QpMsmQO67eVM6YsqCPBfDNYmpau0qbEYkzAgaaGhqWm4Nv5A7+DtxDiGfrtb4D04hm XKCXPURzMW6XwOeoDOd0kfdiXnMOSnQdi7uZawBLKM1CRJHDB50ogUbGygWDZXBpHwLG J+ZCzEWZ3vShZaMi1VsyBe37dm3Rq+YhdbGHJ4gN9VYzH34moSDj+T6ZOZQaRB3+I8mZ s1LixrmaloMUcaj3Xof2j9B6Y8ETcbf3X24dDCRd978DTdTog1KOGUEwI7W6llXYomO5 Z0n2vqvrfAWb/DUzD+6wH6Co2aPT4E8ckD5EbIoPZ0KKv5pfqHDzE7jg/O7qU7sOgW57 BT1A== 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=hKLhDGotVpYlSY7XT5Gezu7H9CaCp/SMWpqDth9yk3U=; b=iEaaAr4V5BapTaTBErScRWnmbYXd4fmJYqMNQL3KUuoipKiQYXkX1iPQJM4Cuw7AVE SRoauTek7PuVFBdSk4oS1bSKtlnh1WS5tMtbitWn/LJ2Zw94os0wnlVaO0mFCeyywVdj GLRmQgvAld0AeLRIgeKTcF+UtlZbvyMTq2QD6sp6JCUdU0ugrJgu3pClRXW4lgV9GsOB zdTxBB9Z6bZIs+DSTstu0uX0Au/qgdKrqbAH7gUXGwCRwnx2x+ZFGdz7O7oixdVVCK0b nsmmGjcfXViSd7q9dxYO2MFtHzq6HDhwnxGVRIbi4Oi+Rrtb8jQt2p+lW8CUr4Pj7sLO RkVA== X-Gm-Message-State: AOAM533DH6gzHhw1pySBkdqNsXQznFVn2VKzcD8Iklqxw573I/jjcJp4 Ig8FoyVKGdO5S7WCOq/+2NNVXA== X-Google-Smtp-Source: ABdhPJylT0JzCgJvG+ohdnVIEUUS8WbedAVMmnEclqJKRS957iBx98KqX9JyjBqp1JdRuLF5G8fJdw== X-Received: by 2002:a1c:f203:: with SMTP id s3mr302748wmc.71.1604417377831; Tue, 03 Nov 2020 07:29:37 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/25] soc: qcom: rpmhpd: Provide some missing struct member descriptions Date: Tue, 3 Nov 2020 15:28:34 +0000 Message-Id: <20201103152838.1290217-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102938_965150_02C76C7A X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/rpmhpd.c:52: warning: Function parameter or member 'parent' not described in 'rpmhpd' drivers/soc/qcom/rpmhpd.c:52: warning: Function parameter or member 'corner' not described in 'rpmhpd' drivers/soc/qcom/rpmhpd.c:52: warning: Function parameter or member 'active_corner' not described in 'rpmhpd' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/rpmhpd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c index e72426221a69c..6bab57aa6d488 100644 --- a/drivers/soc/qcom/rpmhpd.c +++ b/drivers/soc/qcom/rpmhpd.c @@ -24,9 +24,12 @@ * struct rpmhpd - top level RPMh power domain resource data structure * @dev: rpmh power domain controller device * @pd: generic_pm_domain corrresponding to the power domain + * @parent: generic_pm_domain corrresponding to the parent's power domain * @peer: A peer power domain in case Active only Voting is * supported * @active_only: True if it represents an Active only peer + * @corner: current corner + * @active_corner: current active corner * @level: An array of level (vlvl) to corner (hlvl) mappings * derived from cmd-db * @level_count: Number of levels supported by the power domain. max From patchwork Tue Nov 3 15:28:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878611 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 177A5C2D0A3 for ; Tue, 3 Nov 2020 17:56:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A46E6206B7 for ; Tue, 3 Nov 2020 17:56:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gswuOMzI"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bBcEJwdj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A46E6206B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vvwCGtZSVK80uQ4olmrXNv1ccXGKkDQKGRpuqfRMmsU=; b=gswuOMzIoyWALuwl/pxeF74oF d8pEmJ5OBLeZ1XKyx2iS3kqOycxZPW9jU7+4HDD3acwz9KysgR3We7FYTVijhT+cn5Frqbgax1V4b /gV8iPDpyt36mTC2bZ1PYpO+VV9Qrtsn0bdtKh9OixODV5Rhtg5k1X5kMTYdA4R3TiUL+Np9jzBJ8 bnI1WcPae/hzUV1uVC/35Rve/BJ+PNwbVxvpPv/QBQOSYFBBHj6wkMRxK0gM22HA8tHn5bPH3k3H8 pvisEXFUyiq6VB0RgqGM+iN9SgBL3SiZxD25ImQ4woxz5W7vlfkjSmS5bVcl1JAXylDej7yMf4mm1 3XC8u/BSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyMp-0004oc-Mo; Tue, 03 Nov 2020 15:37:05 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFg-0001vR-Em for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:41 +0000 Received: by mail-wm1-x341.google.com with SMTP id c16so13195870wmd.2 for ; Tue, 03 Nov 2020 07:29:40 -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=4T0Q2fKVzM+6dPcaAgGMklorWQEU7HaqxaYHJUTOC68=; b=bBcEJwdjfFz83XUUXZ3Q3w7mVRpuMDZKH2/FPREerwx9nuk0c+WOaA0XFc3Xe2RL6r c6sQPjwBJuchB2D9O9LtRjdP0iA80Ffd1mEZH3/wDZIH3Njz9/UEhDbLz4FEVUcL9Upi b6JT9JcVmgdgTV+3VdYBgsG4cIt+ubSBQFIOU0LCAalDtOylIeo3z5ITti8cg/EENLv+ OOT33omYWVgbNCzhlYpS7Y5JN+vktaMYxzMzQ1vBd2GGI3ulTk7AlM6AazoPthRdLZLT MYkwDZuG4+eNAsGZZSmvua4wAXLB7MqKphfBmx3GaEaa5Fh0KBeBnZHalHTrHwA/hj36 kysA== 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=4T0Q2fKVzM+6dPcaAgGMklorWQEU7HaqxaYHJUTOC68=; b=FVbr/ax61RrShqWH4WQNfmoHmGPsvIKvO3gaKmSxsXh0I1jgOevhgd7ApaXLy5PRa0 H7VOrjyZuOQjJAdXHGmVsB9V/LglfDo+i5/U46F89jq43cwhn5+w8H9Sx1LjB32vJEvo 4T5W3MKv0Q6eG9kq1MrxSMqGmkdFuGjcNciO5NGFaRuq1qwIkHkS61A1OO33PIvzNFlo N1Un+jahO0baBX9NajJSIiwNd5TNnjdxx1m0fbWUKK0CA32pfWUII6EXcL6ewGx8YI9S 46seXIUb6+hEfNyRfwGYfgR3ny1QQYzDmtPGQ0mCFPZ0SnTXfn8FrAzqTwwQqchGGMkJ //8w== X-Gm-Message-State: AOAM533KQ+Fm1vfixXUyvVqFAXGEXQwyycoIUr1hkGu3rNJZnoBnmJEi Wiw2fs/7GTsJ4xtwYmbs7kgvsw== X-Google-Smtp-Source: ABdhPJwusafJZ0amR6pAz0lr++rVpxzG15N+K+PdGqJJDXzljZX4oA8r/13RefeVZmAUGzUYB/wwpw== X-Received: by 2002:a1c:8194:: with SMTP id c142mr321305wmd.94.1604417379221; Tue, 03 Nov 2020 07:29:39 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/25] soc: qcom: kryo-l2-accessors: Fix misnaming of 'val' Date: Tue, 3 Nov 2020 15:28:35 +0000 Message-Id: <20201103152838.1290217-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102940_713414_69927E3A X-CRM114-Status: GOOD ( 14.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/kryo-l2-accessors.c:25: warning: Function parameter or member 'val' not described in 'kryo_l2_set_indirect_reg' drivers/soc/qcom/kryo-l2-accessors.c:25: warning: Excess function parameter 'value' description in 'kryo_l2_set_indirect_reg' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/kryo-l2-accessors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/kryo-l2-accessors.c b/drivers/soc/qcom/kryo-l2-accessors.c index c20cb92077c03..7886af4fd7267 100644 --- a/drivers/soc/qcom/kryo-l2-accessors.c +++ b/drivers/soc/qcom/kryo-l2-accessors.c @@ -16,7 +16,7 @@ static DEFINE_RAW_SPINLOCK(l2_access_lock); /** * kryo_l2_set_indirect_reg() - write value to an L2 register * @reg: Address of L2 register. - * @value: Value to be written to register. + * @val: Value to be written to register. * * Use architecturally required barriers for ordering between system register * accesses, and system registers with respect to device memory From patchwork Tue Nov 3 15:28:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878161 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=-9.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,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 B393AC2D0A3 for ; Tue, 3 Nov 2020 15:40:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3881220780 for ; Tue, 3 Nov 2020 15:40:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ElnXs2t3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tfX2b2dc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3881220780 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vIYCn+20E2oL/LzVVCt+ASS1ZHWsaMgPlpx5aBUCnU8=; b=ElnXs2t3HWr6x11jd2XYCSGQ6 B6FsaskgIllU0TLQLBQTzpH54z2kr0XRLVujw1UsKG9cAFwVaHy8vie1rAtNqi05EnWNMvvxkm/SJ LHvpmq51HIgLThgSyf8bTot65XaMjdsqsVs0/R3InieSMujY1AKjzpJ7DIAkqW7dh/rV3qQm+4ghj L3UsZXOOqGRINETJy1sJ4Mnq5MQ1WySfS9eglpBYzY6/HxBBwJVbdUEjh9YwtzGxaAoXKqensE/C2 IRCvb+Kca10TaLIVjXuZYPOgu5jK1ncTFuyiMDVFMKEMjdym7EqmCe3f3dTpFudtpVI9rhKMQY1vr ZkNJVfvJQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyPH-0000Fq-Gk; Tue, 03 Nov 2020 15:39:36 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFh-0001vu-Kt for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:42 +0000 Received: by mail-wm1-x341.google.com with SMTP id h62so8380174wme.3 for ; Tue, 03 Nov 2020 07:29:41 -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=tKsKw1F2BAQMuIzZzyGzXWp0QYVpF5RBWBEfz9BGXpo=; b=tfX2b2dcek+TReeBlp5mnNHEk7j9Zt0V4ZzuC/iPrgl4S/xUM2HEroQYYtGPgAKL1C jtvjAOQtjUm5/tAKhcMPUuWMuqQhwRKgyN+daKtU8CbInqStRD0W6RX662D8aaLmzjiZ ykbaRbEmK7d2FXRv0/0ZDw8LxxZW10I3QyTNqkSZ82bBdA45bDh5AM2aKH7LwwivjGpH TKBzvO7LcWIXU+qtSrxgMZ6/3mb+UPxBXaXSRODsi0VDgz5603D6OeQ1gUsmH+J5Llro Bn6Edxm91zd94g8VMXYJDu05YRQ4kYSeFjAB/hZOjN0kjz7khYmdkpxgdSRuv0wsCQD/ VMsQ== 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=tKsKw1F2BAQMuIzZzyGzXWp0QYVpF5RBWBEfz9BGXpo=; b=SiK3Z9ezxSlMTu9YEWjRwgXiA0OcQg18303y5HmewX2UbtjRO1BEqK5D1BDInzJljn rAW1FhyjiLOny0bdo1WEAMUobD+IuIu9dOG7+ky2eEZnZnyKJDeMd6NyE9RlmH6SsMfJ wKnwQgPiRFR0EVPUrwxBLZEUzFVlSSs3CKtclfOMMoBLe7Y/vfHH4dQ2aY4u5CLbd6xe 6kN/jF5q9Rmb3M+Ud7oe/8ZskfGbPYWT1hACMZ2VDhKG94gFe7t4z5QpN4KxLT39llpP QVXrBtVhWo8RA1bgsAjufZ8d3SRRKHO+eK1kik1ItoTsn+08zF/ulWyJpnZAG7R1OiRX gd8g== X-Gm-Message-State: AOAM530sb8pzL3Ceer3own9CtjQaP1zCOMUb/wu1pCD5onriQbHD5tpz p+7Fgwft+Pct2XmW0bKA9bVDKhY2TmnEUjEe X-Google-Smtp-Source: ABdhPJw2SrHOA51CXhnIm+fvhFzA2zVKerlb63r4uC0+TIJN662jESE5GKLXdfnCb0jRrXn9Jmj2Ag== X-Received: by 2002:a7b:c387:: with SMTP id s7mr333667wmj.52.1604417380263; Tue, 03 Nov 2020 07:29:40 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:39 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/25] soc: ti: k3-ringacc: Provide documentation for 'k3_ring's 'state' Date: Tue, 3 Nov 2020 15:28:36 +0000 Message-Id: <20201103152838.1290217-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102941_932657_742DF163 X-CRM114-Status: GOOD ( 12.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/ti/k3-ringacc.c:163: warning: Function parameter or member 'state' not described in 'k3_ring' Cc: Santosh Shilimkar Signed-off-by: Lee Jones --- drivers/soc/ti/k3-ringacc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c index 1147dc4c1d596..9bd771eea4b8e 100644 --- a/drivers/soc/ti/k3-ringacc.c +++ b/drivers/soc/ti/k3-ringacc.c @@ -137,6 +137,7 @@ struct k3_ring_state { * @elm_size: Size of the ring element * @mode: Ring mode * @flags: flags + * @state: Ring state * @ring_id: Ring Id * @parent: Pointer on struct @k3_ringacc * @use_count: Use count for shared rings From patchwork Tue Nov 3 15:28:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878163 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 1A12AC2D0A3 for ; Tue, 3 Nov 2020 15:41:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A5252206A1 for ; Tue, 3 Nov 2020 15:41:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kPE/jRWo"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Qkv/V/cs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5252206A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SetTzPm1dy/D29zzMgnbNq83iIPd4giqfdbPoYhhXa8=; b=kPE/jRWoVT2EuIVWSY26z+Fo7 Q/xLBbH/J59SHUdE5rbshdhRwjCcmmino96RslP9eqsDeILiMbCPT6kaY5tE4d4HKVO9eOYI6jbtx U+2nFEzJbxihwH5STEeipbyoeWy/3/0fTDXGW02DyQ3kLUa3ZGE1HDYaBHAW2XOxp0OG2cXGqYHnN pMSDq4NtI4KyAyYTJPT/G6fzxiNx/cbthH5vvE2TMfNosuHjTU59PwqclMMQtCvaGmbT8WdOzO8F4 o1GH2OCG4NqFGK8176fUytHjsMLSGxBeTfle7wBISyftH/rrCDLyP1gBRP6NaafXv5qyDr5o4xCq9 sljOYuDmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyPL-0000LS-Kj; Tue, 03 Nov 2020 15:39:39 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFi-0001wh-P4 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:44 +0000 Received: by mail-wr1-x442.google.com with SMTP id n18so18997925wrs.5 for ; Tue, 03 Nov 2020 07:29:42 -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=MFpjk4zX/2wadqqqsM0maoUWA+IXg/GlxrDq3yCnAFA=; b=Qkv/V/csOn9qV3pYb6lVPgWvEdd3Ta8GDAq86IVNAUc3c0jR6XNImUocikmt93rRg2 h1Gyw2dnX6+eku//9wJYPUfZDgdiZRw8yMNfhxwLvZyJR7/rgIpW8JHwUhGw+JQ+/01l JRpT/oiFbltYm10ijlqHJ5+3lKj2M+nEQSvVXJe+ieToN2rbOJSYzmNLewUITApjxA99 KI71SXemg3k+zgI3lASOaj//Tf42Pjyc2/Da0Hc3n6eyPIypsQtkyzSNoDFQ8TpgLJfW O2nf19pS/jbIlnE9RfqOtyWG3BpGwjS5NSWttgumNXbln287Z4zPVmVQChWlnaCc47Uy Wm+A== 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=MFpjk4zX/2wadqqqsM0maoUWA+IXg/GlxrDq3yCnAFA=; b=ZlD8iAfkBL60Ym/ZT9Q+hVdRoUCm/YotQgUWfLnzSEHQLmEWNqeHWMCQ/5hs6BWE0X 20bBXbtxdMzZ/Sg56tGUDz/yzPLtxiK7dWCWS8pnbxKUUr6m9yKdjvj8Yj3P0PSBwMOv wf5Z7St/0SJBJTrCf2ZlxU9ScXRPD5UyH6wB/Eh7EB9oUCJGXQAdJRLnNArpcYcpZyAV MVP4wKxI/lXQwAJZXs/czI5U8+32qPljFbULpv2dBd3HHCvW9/gSmWhkEhpqzL2RAvsk bzNPjG4CLd1e848YloqT7PUY0NahKdA5SB1KsPGOU7tgkSCoJSMFyMQ31JyraRsfnRzn BEZQ== X-Gm-Message-State: AOAM53242HbjecS3AP9V/ful2KBdEI5EdEQ7qzzdOsHiY7PjbJeH+1Wf B3lZCvsgGjLjw3PmYwYYi2iEq3Hrc+LKoq3N X-Google-Smtp-Source: ABdhPJyApWsuQrwG87jrLEV9umSx+qWrIi0rU75XA05LIQc9vRCphOrnl1PsoRjfi3qvIDo9fZrhSA== X-Received: by 2002:a5d:664b:: with SMTP id f11mr25450929wrw.195.1604417381575; Tue, 03 Nov 2020 07:29:41 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/25] soc: tegra: fuse: speedo-tegra210: Remove a group of set but unused variables Date: Tue, 3 Nov 2020 15:28:37 +0000 Message-Id: <20201103152838.1290217-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102943_142631_EF39827D X-CRM114-Status: GOOD ( 13.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, Thierry Reding , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jonathan Hunter Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/tegra/fuse/speedo-tegra210.c: In function ‘tegra210_init_speedo_data’: drivers/soc/tegra/fuse/speedo-tegra210.c:105:56: warning: variable ‘soc_iddq’ set but not used [-Wunused-but-set-variable] drivers/soc/tegra/fuse/speedo-tegra210.c:105:46: warning: variable ‘gpu_iddq’ set but not used [-Wunused-but-set-variable] drivers/soc/tegra/fuse/speedo-tegra210.c:105:36: warning: variable ‘cpu_iddq’ set but not used [-Wunused-but-set-variable] Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/tegra/fuse/speedo-tegra210.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/soc/tegra/fuse/speedo-tegra210.c b/drivers/soc/tegra/fuse/speedo-tegra210.c index 70d3f6e1aa33d..7f2cc09a00bbf 100644 --- a/drivers/soc/tegra/fuse/speedo-tegra210.c +++ b/drivers/soc/tegra/fuse/speedo-tegra210.c @@ -102,7 +102,7 @@ static int get_process_id(int value, const u32 *speedos, unsigned int num) void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info) { - int cpu_speedo[3], soc_speedo[3], cpu_iddq, gpu_iddq, soc_iddq; + int cpu_speedo[3], soc_speedo[3]; unsigned int index; u8 speedo_revision; @@ -122,9 +122,9 @@ void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info) soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1); soc_speedo[2] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_2); - cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4; - soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4; - gpu_iddq = tegra_fuse_read_early(FUSE_GPU_IDDQ) * 5; + tegra_fuse_read_early(FUSE_CPU_IDDQ); + tegra_fuse_read_early(FUSE_SOC_IDDQ); + tegra_fuse_read_early(FUSE_GPU_IDDQ); /* * Determine CPU, GPU and SoC speedo values depending on speedo fusing From patchwork Tue Nov 3 15:28:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11878159 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 96DB7C2D0A3 for ; Tue, 3 Nov 2020 15:40:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2ABFC20756 for ; Tue, 3 Nov 2020 15:40:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="x27GynNd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JaziDNI2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2ABFC20756 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=otISuxJ06DK/R078oO/WDHa6mZrH4rBt7is5zF56enY=; b=x27GynNdb41l6IrtekKG2oHwq mtd4M5B0sNctC4zDa0At5J119oU2nmBI42+kl3iIC6kcMXLXrCIxr9HiWAQObkf5EZrfPWua99iE+ JCeIbT9m01KYy/KCGpYlDbcPMUBNVeclmOXiapivkSQcrDsARObhxDqFcAU5IjfsdgBtyPxIR0Byh wJ+q7jXxRuHlwEqprSLvEvl0S/BUeEM4sXSnMM/eZTDjXrUfzFmgMT5xWz3ImGP8zL1vTbJaFeJsM XumCTfRCJ1be7oWkAbX8VBmA1Ybu4KDY/xfHsfzrpG+E3JtGn+cSNcj4d4ZroJ7IaKeyPcngV3Z5B RKT7GyAHw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyPN-0000Ll-CL; Tue, 03 Nov 2020 15:39:41 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFj-0001xN-N6 for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:47 +0000 Received: by mail-wr1-x442.google.com with SMTP id e6so1756659wro.1 for ; Tue, 03 Nov 2020 07:29:43 -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=qtstZ8Ss1ZAgmytvl8BCDCnRUt17GN9LrR/wkx5bkhc=; b=JaziDNI2dZRnNVL5YCwTqVWJum+QZWTUU+vs6VYmxJT7BLEQH5posc6/WC0AWBKwwX 4EA5q8jb1aDG1Qx8mSIZIvnF38Fmo9qbDB+CflrTNa5NulvbCNZXnBF9VEZQT8KG7DxU 6+3I7zAk4NLRGqNIWxSsf7NVHdlBanIQn/093/L5uzkRt/gwwkBjtCbRLH8IZ9FOlvIe 4mAv1E7ipUbKi6Ug07SR2idrs0IX2STzlguTxLvcvRsHMYITCo9255Iv6zU2eRFF1R3e NrSz765fBbjXJUk3Nfjy2gOSshWI1nJKMnhi+SZ6rf/XcpwkS7M6bwWro1jkNr6bymOa aDZQ== 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=qtstZ8Ss1ZAgmytvl8BCDCnRUt17GN9LrR/wkx5bkhc=; b=B3KRiKmrD/jYQGObAlzBLjkvCjSuj+mNzswctJkm2kUCeLYCC6x0u+GQvBo6pCR4nu wSUAqdkTgBm2IdUZbdEvIgobjXp+I+UsB6U0I2gEvxA+Zm80ze86zLvWpQl9ZYvYlccW lE4BWIS9lip+jbeKL/0J2FP4XF1J0ZKpi727aHQ4nLsNtOFR8JfebvSEL0qmZ1F1D92F km/6mzFHcDsuth8s4WpPPqcwN9An6N2NCOIXYh1Zf9IkvVhLECj40nweqd3hL7jXx6vj UXokrqXhVAOmOOMTRwtwaqklu7dk45wtxeyQsZ00/3+yZ0UjKKKTkLxdd34rsjFA4jet WOog== X-Gm-Message-State: AOAM533eEwXmpdgjQ2P2ZuXbPtZgwKDspFSmyPWi8j4MZjpZbT72+eOn 02PgbMQJKrP4FDAWoJFnfCTW1/U4Py5u5E/R X-Google-Smtp-Source: ABdhPJwfFIvO98y22nwny1fM75XJYeVuQtBFhjTRJDvug6VV5vIaDlVpdV8Lsm6ohJKNfWsYSxQtRg== X-Received: by 2002:adf:c101:: with SMTP id r1mr25707250wre.87.1604417382870; Tue, 03 Nov 2020 07:29:42 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/25] soc: fsl: qbman: qman: Remove unused variable 'dequeue_wq' Date: Tue, 3 Nov 2020 15:28:38 +0000 Message-Id: <20201103152838.1290217-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102946_157814_3CCC183B X-CRM114-Status: GOOD ( 15.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, YueHaibing , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Li Yang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/fsl/qbman/qman.c: In function ‘qman_shutdown_fq’: drivers/soc/fsl/qbman/qman.c:2700:8: warning: variable ‘dequeue_wq’ set but not used [-Wunused-but-set-variable] Cc: Li Yang Cc: YueHaibing Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/soc/fsl/qbman/qman.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c index 9888a70618730..62b182c3a8b04 100644 --- a/drivers/soc/fsl/qbman/qman.c +++ b/drivers/soc/fsl/qbman/qman.c @@ -2622,7 +2622,7 @@ int qman_shutdown_fq(u32 fqid) union qm_mc_command *mcc; union qm_mc_result *mcr; int orl_empty, drain = 0, ret = 0; - u32 channel, wq, res; + u32 channel, res; u8 state; p = get_affine_portal(); @@ -2655,7 +2655,7 @@ int qman_shutdown_fq(u32 fqid) DPAA_ASSERT((mcr->verb & QM_MCR_VERB_MASK) == QM_MCR_VERB_QUERYFQ); /* Need to store these since the MCR gets reused */ channel = qm_fqd_get_chan(&mcr->queryfq.fqd); - wq = qm_fqd_get_wq(&mcr->queryfq.fqd); + qm_fqd_get_wq(&mcr->queryfq.fqd); if (channel < qm_channel_pool1) { channel_portal = get_portal_for_channel(channel); @@ -2697,7 +2697,6 @@ int qman_shutdown_fq(u32 fqid) * to dequeue from the channel the FQ is scheduled on */ int found_fqrn = 0; - u16 dequeue_wq = 0; /* Flag that we need to drain FQ */ drain = 1; @@ -2705,11 +2704,8 @@ int qman_shutdown_fq(u32 fqid) if (channel >= qm_channel_pool1 && channel < qm_channel_pool1 + 15) { /* Pool channel, enable the bit in the portal */ - dequeue_wq = (channel - - qm_channel_pool1 + 1)<<4 | wq; } else if (channel < qm_channel_pool1) { /* Dedicated channel */ - dequeue_wq = wq; } else { dev_err(dev, "Can't recover FQ 0x%x, ch: 0x%x", fqid, channel);