From patchwork Thu Feb 10 11:41:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 541432 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp2153038imo; Thu, 10 Feb 2022 03:41:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJydI/zL/K7bt5Avf3yASWwlvlCkcfAgc/CisAf6HJpdOve3ZFcjD3Qs/sDwi0ewYCi01oIR X-Received: by 2002:a65:6751:: with SMTP id c17mr2008908pgu.197.1644493282006; Thu, 10 Feb 2022 03:41:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644493282; cv=none; d=google.com; s=arc-20160816; b=RW95pekI+xuW1cF+nKThttstukfFbr8n6SYI1zp81HUYVCY/R67xEif+rUW8UqaIC0 wuHmnCq+KG+iTe7Snw1YB0E4Dg3tQBVimPun8vpMWlhPYyLFdOGDQnYWFm7D01OViUdY MKJuDJOV3nqO57Kd8EEpZ/X0MTgipKQ8zlDi525guDYq/4KNCxrWhkBlsmuvoWVUd/RS gAak3C5kyWpi+vs4tbMWJO9sRqw5HEe4TLGQUAzoUp1ifIJJpJ3JFTKcBh+IkenbkKtU 1M5b8G8Eg5j9FER0tdCqLrPvjP9ioLYgFCwt36fiTruu1F844zWxBKqO0KtSPjOWkeJr IotQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=kNnS53Ttn+QLo0R2p6aXhuJnXS2tHYVDdT4lyB7cKxA=; b=NXdBaXEs6ChAX65btsdKi7UQryAiMb7vMbsQYEp1v9SAVBKmNQzIxjYBYNXkvbp7yI r1+48MVRuN12ZBJ57XbeiFIe4hTRgufR8l+Gg/IyY5e4s02InnCZ5/1EdGx8wT1UMihU qfD2Sz758tcWzApdCfED9HFTP9R3VOgNJd6vRl0xf2moMVEGJS08lPu7GI/tQBDYeAQf Qqc42jgJYITDEcwYvWLcoG6HVRIVW8w0fHgoOOQkPCIXOOPVfYD8mLeUm/YbE7GJfNF7 v4VkH4Ujs2BOL9ATF+bU0gm41vMn1RhCea+XeFOwRnjf+7SSnrltc0a9LDF9FY9J4huN dwmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=WdhEQGRt; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id h70si18235749pgc.670.2022.02.10.03.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 03:41:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=WdhEQGRt; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 893C710E816; Thu, 10 Feb 2022 11:41:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id AB70810E815; Thu, 10 Feb 2022 11:41:16 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1DBEE61D12; Thu, 10 Feb 2022 11:41:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C632EC004E1; Thu, 10 Feb 2022 11:41:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644493275; bh=YX1gi59/HZbFW3O0Wnmg+lqGfVhLTyza+iIoN+OkqZ4=; h=From:To:Cc:Subject:Date:From; b=WdhEQGRtOpRhyZ6JWVwUVoJSQt9Imap+QU8DPJgQYnD4UI6NkPC67iN6XW2w4X4zx sRcVtwhOm9l3tiEY6pMPQlccFPEDowvg7IVRhr1hTosIlbhx0RZR6Jc21emXLIX7KY XCjFH6rdRXbkuSQVEii+16t3UZk3uWOPbmBz2dcPsjtIwfsa66vLxkxdwvOi8nMCbS aN4h77DFeEsc+PMnpyxGgfGQZzAn0a8zKoiJZtrEBK6v8mXBJvShV++3j1pbL2zItX 6FhW2VjPqdwm2xjlFNP8oPu04Cfn5eT88xdnXL2UynMZ9jwKj69rKFpOQ9cJwKrw9p JmVgwIN2YxCBw== From: Vinod Koul To: Rob Clark Subject: [PATCH 1/3] drm/msm/dpu: Remove set but unused variables Date: Thu, 10 Feb 2022 17:11:04 +0530 Message-Id: <20220210114106.290669-1-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kalyan Thota , freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, David Airlie , linux-arm-msm@vger.kernel.org, Kuogee Hsieh , Abhinav Kumar , dri-devel@lists.freedesktop.org, Bjorn Andersson , Vinod Koul , Dmitry Baryshkov , Stephen Boyd , Sean Paul , Guenter Roeck , Mark Yacoub Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" We get warning: In function ‘dpu_encoder_virt_enable’: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1145:33: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable] 1145 | struct msm_drm_private *priv; In function ‘dpu_encoder_virt_disable’: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1182:33: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable] 1182 | struct msm_drm_private *priv; Remove these unused but set variables Signed-off-by: Vinod Koul Reviewed-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c index 1e648db439f9..132844801e92 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -1142,14 +1142,12 @@ static void dpu_encoder_virt_enable(struct drm_encoder *drm_enc) { struct dpu_encoder_virt *dpu_enc = NULL; int ret = 0; - struct msm_drm_private *priv; struct drm_display_mode *cur_mode = NULL; dpu_enc = to_dpu_encoder_virt(drm_enc); mutex_lock(&dpu_enc->enc_lock); cur_mode = &dpu_enc->base.crtc->state->adjusted_mode; - priv = drm_enc->dev->dev_private; trace_dpu_enc_enable(DRMID(drm_enc), cur_mode->hdisplay, cur_mode->vdisplay); @@ -1179,7 +1177,6 @@ static void dpu_encoder_virt_enable(struct drm_encoder *drm_enc) static void dpu_encoder_virt_disable(struct drm_encoder *drm_enc) { struct dpu_encoder_virt *dpu_enc = NULL; - struct msm_drm_private *priv; int i = 0; dpu_enc = to_dpu_encoder_virt(drm_enc); @@ -1188,8 +1185,6 @@ static void dpu_encoder_virt_disable(struct drm_encoder *drm_enc) mutex_lock(&dpu_enc->enc_lock); dpu_enc->enabled = false; - priv = drm_enc->dev->dev_private; - trace_dpu_enc_disable(DRMID(drm_enc)); /* wait for idle */ From patchwork Thu Feb 10 11:41:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 541435 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp2157049imo; Thu, 10 Feb 2022 03:48:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwA4hpIu7hV/eUgvJ8Sl/wXZToirRESA1+Zx6ugjvTh0Tj49FX1/JnnI9QR+J5gFALR2yCR X-Received: by 2002:a17:902:7595:: with SMTP id j21mr6979871pll.79.1644493721788; Thu, 10 Feb 2022 03:48:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644493721; cv=none; d=google.com; s=arc-20160816; b=kbCMtE/AcCAwIetvTbRz+fxO/bHhiZv5g0mPXaZ/Gbfyw6QOqhljz8TvFRJHWIKfyS uryKqOvQ22yhLsUCzBL3zQo+OgJcg7W+EEqcgoDy48hZfuXxb3OuoFe92OLJNRkR6g5z G2EFkJETjZg8hl7St5VZToXr7JZ8QE4AKBBJqxsM7HvaKGkrnRhicRiKtyFG7i0Ha520 R7rUrvuwFxmlj7hwBxdukyOkV+C4h7S5LE0XdIWlakSg6u1Iw77mTmNga4NsXZyw3/Oc cZDMFINrG7iuDiWz5ZcZUf7SjcCSUANyGj8R7DlU9u9LCfcP4SNiG+G0y4ou5nVXwjJc whBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=evzZZUZSk8H53JcC1T3Of+BiXgDDyt/5UMG/PbZagIk=; b=H5Yg/2AjSXrqtvVCXMhM2l0kiTNbhhsntNmaT+Qxn6gxybrmilRyNgthT3C8XOSgv8 W23435Xb9r8l6SVbxD/YaNCwAI0dXDKC5SSzwa1EtfQMPC7KamigCb0Z0iFc7jRRQQiQ +p2qGB97Hyz/ZG/VokngVXO8nx7OxkbsdnquAtuc1IFMNQO+6k9bLeq+TMxSwbyCeJbR 2/pvLWypU28c3YWnNThIFXqNDXlqSJW5f7LKVsiHt+T5ohyKeoGa3tpryW2lhNqI91O2 oLAREiqDu/VnQMV3J0ZUDKYY5PyGsLldXsoHX424GzuJyeD55K2e8r/lPU2sny6R7mQd lzqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=sPMMjUOr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id v12si1532770plg.294.2022.02.10.03.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 03:48:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=sPMMjUOr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 164B610E81D; Thu, 10 Feb 2022 11:48:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 434 seconds by postgrey-1.36 at gabe; Thu, 10 Feb 2022 11:48:38 UTC Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9578110E81D; Thu, 10 Feb 2022 11:48:38 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 22C97CE2312; Thu, 10 Feb 2022 11:41:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21AB9C340ED; Thu, 10 Feb 2022 11:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644493280; bh=H2RdFMbRP7RJJRAbgsf+fGP8lEtZwF/hA1bM/itUqRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sPMMjUOrJ36Af0bXmXEh9TZNqVWM8Z2gvyQc9iwH6TuLRaleJsmfGneK6uljoO0C4 DHYvQxvj5PdVH+eKT0jFZNEEz9ej9L5/w9q3KG0CwXSZwQ0gINtaNShvCT3oLdT4zO u+xSeaOICJ8Z3M/kciEvTOla5F+pNkNAm8xaZcpEsDxxAPNyR2QQ31uTYtgB4Ijyui 9NWpXsR4E2a+c/hZO6/o8k+OmNgIvt0LVmvVIqnANsDCnBkYFKLr5HmBBXqrG/Yy/4 tMu+X+rvOcE2CunOqHc6PGNoREf9FxL+1CXnf1GZbAy4Lp6gGvs48liOgtZ3yK13Ef nr4dM/DxdapjQ== From: Vinod Koul To: Rob Clark Subject: [PATCH 2/3] drm/msm/dpu: Update the comment style Date: Thu, 10 Feb 2022 17:11:05 +0530 Message-Id: <20220210114106.290669-2-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220210114106.290669-1-vkoul@kernel.org> References: <20220210114106.290669-1-vkoul@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kalyan Thota , freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, Kuogee Hsieh , Abhinav Kumar , dri-devel@lists.freedesktop.org, Bjorn Andersson , Vinod Koul , Dmitry Baryshkov , Stephen Boyd , Sean Paul , Guenter Roeck , Mark Yacoub Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The multi line comment style is wrongly used as kernel-doc comment. This gives a warning: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:17: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Update the style to fix this. Signed-off-by: Vinod Koul Reviewed-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c index a77a5eaa78ad..9341c88a336f 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c @@ -13,7 +13,7 @@ #include "dpu_hw_mdss.h" #include "dpu_trace.h" -/** +/* * Register offsets in MDSS register file for the interrupt registers * w.r.t. to the MDP base */ From patchwork Thu Feb 10 11:41:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 541434 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp2153099imo; Thu, 10 Feb 2022 03:41:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxd/mn+TxkhLa/g+Q5BvZJobD85ZRmr202lW5wWHCqLXFGYk4lqxLlibiYtIxeFab1UVlfP X-Received: by 2002:a17:90a:190e:: with SMTP id 14mr2157677pjg.210.1644493290207; Thu, 10 Feb 2022 03:41:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644493290; cv=none; d=google.com; s=arc-20160816; b=sQZILGf4X6h10pDUc5K9J5mbWkkc9aaHi4dTBGRR//N8BKqu8g42kMJ6wDg38RtSy7 i69nOgVYSTXcKYrMexhNqG1KTLiyZqJuMZWTs4n4LIHMOH1WKQ7+ikOdjaaAJ8RZY9Oo PxTHBT3SGgcGKCYAp4EHbiSiLbnVrYN8qjo6fiR/5fmXxj2CDaQA8NpmAG5rR9UV7RM6 iWXXwiuEv1jJofo+lCWENPv6UMAjhLwl4L4rwELAqbqnPXh8vJM0YM2qpUAquOng8KNY nQNfUbaY029K4iZZdQ042FvuDMChjlBPAXpN729QaDpzf1jmsIEyvgMS3qMwZb6Rc35i MYnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=T6UYiKCYqxf+6Pt2oMQxZ/FRyDaFHwMkyzsw3R6Qggc=; b=OzK+WuKkWYOMb5cl1DjR4kWQG042nv4X0MteM5NfBpJtBjP8Zqvfee9Y2KG7BQm1Ko InrDZZnRyk+go1E0hcj2wag58kpUGcL2hUv6yzCuaZePeeW1l/Y3sir1an3uh2yGNVxD uN/pEAoSnjlKh14RrgLiog1fKb7d6HOJPmrEgbwJN4wkNR20bBeBoM+Ey4StIBKUKZ8j GythKSn31mJmCpU+99ASlJeP0zTFtg3fPv0Kr0LvUDiTrn4UAD2IhFmH5DVyTVuwT+lw /eHK8Z26ordC/eDFwv7WaHANzIll1p0FObCLnnnxbRb20SblGTA0q8W6T17npgo5oF0d OdKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=rl5jqfj6; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 144si18939471pga.249.2022.02.10.03.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 03:41:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=rl5jqfj6; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A124D10E817; Thu, 10 Feb 2022 11:41:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id C70CB10E813; Thu, 10 Feb 2022 11:41:26 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4066361D1F; Thu, 10 Feb 2022 11:41:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 325A5C340F0; Thu, 10 Feb 2022 11:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644493285; bh=/OutVh/eSlM2D8L/jMfWJxxmWG0tTyYf7k89K741aNo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rl5jqfj6jAysGYxqiYPgAg6AcYBKVWA+be7zn8KTweo4BrfXSQEzU4cTA5bdnlpOU 6XPvLHgV6Sb5vXd+896oDooDKmf28WoBQXSXnvY3+c6B+TKEaGbaGLCfnCpWF+faOQ Se4X4Fghg5RP0+GcYjv8frytkY6c9V+63tYTqgN33LHXIFlFM2BomvD40Ku5h4MeL6 75FDh+UaW5i4vdBD4CQgJTwpJxOTjGMk5lmbP6jhG6YBBgXqtH0oTnQ8s2jKWMQG8i bycVXyrcOQZ3RhAQ/XKHHb7oDDAmstJzrlyXlBGp2SUiaeI/dwvcNOhAuBRKzx+76P wOrOqJwyVq+pQ== From: Vinod Koul To: Rob Clark Subject: [PATCH 3/3] drm/msm/dpu: Update function parameter documentation Date: Thu, 10 Feb 2022 17:11:06 +0530 Message-Id: <20220210114106.290669-3-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220210114106.290669-1-vkoul@kernel.org> References: <20220210114106.290669-1-vkoul@kernel.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kalyan Thota , freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, Kuogee Hsieh , Abhinav Kumar , dri-devel@lists.freedesktop.org, Bjorn Andersson , Vinod Koul , Dmitry Baryshkov , Stephen Boyd , Sean Paul , Guenter Roeck , Mark Yacoub Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" dpu_core_irq_callback_handler() function comments seem to have become stale and emit a warning: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:147: warning: Function parameter or member 'dpu_kms' not described in 'dpu_core_irq_callback_handler' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:147: warning: Excess function parameter 'arg' description in 'dpu_core_irq_callback_handler' Fix by updating the documentation Signed-off-by: Vinod Koul Reviewed-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c index 9341c88a336f..27073fd49fee 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c @@ -140,7 +140,7 @@ static const struct dpu_intr_reg dpu_intr_set[] = { /** * dpu_core_irq_callback_handler - dispatch core interrupts - * @arg: private data of callback handler + * @dpu_kms: Pointer to DPU's KMS structure * @irq_idx: interrupt index */ static void dpu_core_irq_callback_handler(struct dpu_kms *dpu_kms, int irq_idx)