From patchwork Mon Nov 23 11:18:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330582 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907290ilh; Mon, 23 Nov 2020 03:19:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlHHLJV44IS79PuHyALggz/qqsBaf8R5miDMWgdcxbQXqDpqiBdwQh/lQrO6uStgD1qfWa X-Received: by 2002:a63:da14:: with SMTP id c20mr9979469pgh.447.1606130383076; Mon, 23 Nov 2020 03:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130383; cv=none; d=google.com; s=arc-20160816; b=cXfjhhTY3eoGQHeWI9TEpD+qKnTvt5FGO8Us0I+bfiHL0Z5PKf1tQ//SHshdILFkVm VfyCMBcGomnJb2HMF8sR+Gb89Pkx9XXPx0RM2RVSeItinQv76J8ptxcIaasEsI+gz5ne ORA5bJL0CWOJ9pJAzfBRAPMVnWEUJgcxrVu/Qj1NdWBzsQvu0c76ZxqjM4pBCEGrlDmD VqP5dZdjr57GXRLt2oO2GCTkR3wx016WxlyboXgY89QQi0cWdYWJvfuqZgxZ0ycjxDHm hZFfQJFumqPcnP5LkQJcC3j6WPL3XdLQ8nM5yKBEvZdDcfECigI55hE8HCXs2TuxBBak egYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=PqwZAcPETmPdYRHsxZWXEypJ8/lwjZvArrK4Q/Vl+4A=; b=egdf9Vh7o+Mvr4JuzkE/CVOPmNSlmw25iq4G9/HmAyIbaCO5PfH/mOtrq6cpaTWcei K1Zw8iX4/irIf49wlEe0FjWlJW0i1Eo9GBOKBo8LvnxW6yxn9BcolFrDPKX+2Z2GjFUE vP+eL/DAlXiIu4E8HeQzEiuKINmNJhJe4SU4fLBgMgVKmYczokhWVdjwbfwKH5yaoYIx lLwaKNq+Kdv3eaaU1nKdEHxJWw9AFxik9qYnF3t23Zi2LvqdumReWoIuKpvuNLA3XvWJ K1c0VgAob3wQ3Cueq/mzKLEX/WSXgNRniea3HAmQ5wOp+PrYloY8nZMksr/QmIYjeDkY TERA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fv4WcU24; 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=linaro.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 i2si10392118pgg.143.2020.11.23.03.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:43 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fv4WcU24; 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=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B65189A77; Mon, 23 Nov 2020 11:19:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id 60E7489A77 for ; Mon, 23 Nov 2020 11:19:38 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id c198so15633826wmd.0 for ; Mon, 23 Nov 2020 03:19: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=4O9Wtg4ERk7UIKuJVRpIsYKCPive6atwfzd7DqykwOM=; b=Fv4WcU24S/mVuirgJJoD8NvlY3hjP06GFhM7tn1pNlSPQQHYkea0xN2LruNIN15ZHV wP5l4G3ZNipBvq5duw+OF9G4nJ7sjT303l6Rw2EkYYO8O7MQ3iqaY5PccncHX8gqiq3E V8Sf5cxO3BTT156CJgZT45SMdIEYG6Uv0D57dmy7+HGFzdjblGyacZ0KWpfvwXO/2vcI bZacMpgn8g/YiDQayXVV3KUx9+W5Rf1U0XJ724yAVa/y8SgXO2Z80tezZMfm5DMxUN5n ZtR9YBg1LT8PSnJmE3XvVSZEbQ+YFFOtsnD60T43tdbl6dThfdsNpzPI4i5xXk//Qs5l kJmg== 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=4O9Wtg4ERk7UIKuJVRpIsYKCPive6atwfzd7DqykwOM=; b=qR02qXANhYy6sVTh3J1xkOi36ZBq76ys8xUES5poQHAK37Pr6q/yxc18Hnb2vF9KQl zLBLcbAismTP/UdpmAj2IgSF9CznjHWZ5hDxqbzmcxaGilSKOa3PYlFunnOeMmKhWcSK AItgdsKv7ytV5SV+OG3B6MxvNCjIB15UKABMEvSrot4dD9bS0RloW1gxSYD5FsRtF1a6 Xw807QGw5/O1xGGcY19/ijsSnx/u9Yzi+1CQI4GyyAzdzYuIxhPZHdG9F8FlrJCnRSst TtunNK/ERJ0n7D+cgYH6jzUuS+zqUeE+uF4W+uq6jUU1Rvj/3SQoicux9bIitQS8pbol S+Jg== X-Gm-Message-State: AOAM530vtUah37e0UnTuOP6oE7Es8DekwH54lCiRaCO+a/yqaxyrsLle nAguDVEg2TVL2yxodFDVhw4LHA== X-Received: by 2002:a1c:f017:: with SMTP id a23mr23703118wmb.56.1606130377058; Mon, 23 Nov 2020 03:19:37 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/msm/disp/dpu1/dpu_hw_blk: Add one missing and remove an extra param description Date: Mon, 23 Nov 2020 11:18:50 +0000 Message-Id: <20201123111919.233376-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-1-lee.jones@linaro.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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c:28: warning: Function parameter or member 'hw_blk' not described in 'dpu_hw_blk_init' drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c:120: warning: Excess function parameter 'free_blk' description in 'dpu_hw_blk_put' Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c index ca26666d2af91..819b26e660b9c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.c @@ -19,6 +19,7 @@ static LIST_HEAD(dpu_hw_blk_list); /** * dpu_hw_blk_init - initialize hw block object + * @hw_blk: pointer to hw block object * @type: hw block type - enum dpu_hw_blk_type * @id: instance id of the hw block * @ops: Pointer to block operations @@ -114,7 +115,6 @@ struct dpu_hw_blk *dpu_hw_blk_get(struct dpu_hw_blk *hw_blk, u32 type, int id) /** * dpu_hw_blk_put - put hw_blk to free pool if decremented refcount is zero * @hw_blk: hw block to be freed - * @free_blk: function to be called when reference count goes to zero */ void dpu_hw_blk_put(struct dpu_hw_blk *hw_blk) {