Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1913423lqa; Tue, 30 Apr 2024 03:08:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRY4x12KR99Z45DURRnzk9pjnEc94V/sbN7kUZ9H3twmmhLbJhHP7Y2T3S4gKu0R8KWlt3b6zSxA2oT97oZpWfASLJkTtvUf76D9/3aw== X-Google-Smtp-Source: AGHT+IH92m33YzPNMGDzw9Cr3Bb2+IjioeYeFv9thTn0CPTAkFUrLQllDsg2TxMOq41r33JT2Yj0 X-Received: by 2002:a17:907:7f03:b0:a55:b887:e08a with SMTP id qf3-20020a1709077f0300b00a55b887e08amr10590532ejc.50.1714471697677; Tue, 30 Apr 2024 03:08:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714471697; cv=pass; d=google.com; s=arc-20160816; b=hZFwYxwxmNfS0F+RRulSDXyWYTR0jWaeKChYZ0xmevqmF/xvRKdDN8ySHI/QOS4WcP 5suWm3f7h3H5hSrixRLzk5OXfmGF1szDJlfLmMC9leBGPOv/l5cU3XX0pXvXriqZK/6D Q4OoDrfCesdtHX+l3yR4cSrx35eqJYS0EUYMfuJqGGYJ6+opoP3NQp7yBmMKfhH3OgZe xcsrH0BAdzD5rSm7vqtIXrblff8zJ6VBBWDsO9EwWS3CwDOVWuj6VvWCOUkzETTkPktn MG9A7kwAx9ES52baqGayNgpvZ7/TsNvm7/XpxauF00SF9+wjUIFbBFcK57H8V+M906zc 3Dpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=9zobJ2rQTtIS2TqrWVEPphL69LbeUpn9huSTiklowK4=; fh=AZRdvh238pVKSwz+zQQe75MDUCBarE2fNVnYFgClp/4=; b=R1At9r9zyay7N6pwml1TImDprAXq13vR15ePscyoGc5FV+BdsveogV8c/OYOl69TtY qSdJKQC0We6EEFCFnXBrIWXUACAu4SDL0uI/pD3nHU31Zo7yQ1p44VzgIFgG+x1zl5wM ZrgRqI+3tOBYIu5Q7n9hOR7sO/MvnBxMaQwQxzZR1zq76QPOTSV8ZFAi+F+aPiLgzrTf MlC7bXh0qOZR8c7qdrnd1AkygWNpaXo+N/8dQHnAx2axfNWMXEX7wYk1Y6gQmcDV4jBS avgWgPL0TG/XJ6oA3G5c06blYIE0A3i6DcdftewetCzx9FKlnuKD5tRH6pYe40BQoTyo Rr2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=ExSriAwm; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-163745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163745-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u5-20020a17090617c500b00a522ea78e97si15150555eje.166.2024.04.30.03.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 03:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=ExSriAwm; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-163745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163745-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 691AF1F242E1 for ; Tue, 30 Apr 2024 10:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37D42129A6B; Tue, 30 Apr 2024 10:08:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="ExSriAwm" Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B875DFC02 for ; Tue, 30 Apr 2024 10:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.113 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714471690; cv=none; b=P7ycZNSMLYDBCEN1S+V1oN7Wd9MSUB4GJvDJC3dUo11iWfY0mHWUTeIWfIPuvRELn4UdZPTrk6DelGEf13X5ZcE/ChgNbYIUgYoM6a8SIjqG9KjdJ3qpmvggcO5I5hjyA15hbbZGQpK1N1jA2aDN06oNyoLQRQ6Un/pJ2UtwxZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714471690; c=relaxed/simple; bh=GNwi9c3XEet0n/g190xTW6uc3yCjHSUElUE3/b7GvwI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=N2U4mELUsGcsw+wJYkCWgAkBWyBnznLrX0eoYCaX13PnnXcZwPgjuM0oerV0goZnolq1dlFsNza5WxYmBHShl6kt7RY8xi1rp9f1oDsWbKAjtVQpXjIH2gxk9Sw41BfPNyNsLDvgZR8oQFblvnpPIvHQJbqCUmO/br41tCqCD3g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=ExSriAwm; arc=none smtp.client-ip=115.124.30.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1714471680; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=9zobJ2rQTtIS2TqrWVEPphL69LbeUpn9huSTiklowK4=; b=ExSriAwmqXyN80ND1G3ze1LI+AO6QzoZTUjpiTirrPgCYeRXAjGD9WYXd324YOlfIrom3mAWk7R424HOsJOvSJ0PY7Atf+M8ier28+wEssH5zuKr+X/7VluVrDVS9nSrBjGFIJ0wbZ9Gm1xFbpBLCUWMbx+IEH6EczIwsnYjIxU= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R491e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037067109;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0W5bwVuT_1714471678; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W5bwVuT_1714471678) by smtp.aliyun-inc.com; Tue, 30 Apr 2024 18:07:59 +0800 From: Yang Li To: alexander.shishkin@linux.intel.com Cc: linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH-next] intel_th: Fix kernel-doc param for intel_th_alloc Date: Tue, 30 Apr 2024 18:07:57 +0800 Message-Id: <20240430100757.121364-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This commit adds kernel-doc style comments with complete parameter descriptions for the function intel_th_alloc. Signed-off-by: Yang Li --- drivers/hwtracing/intel_th/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hwtracing/intel_th/core.c b/drivers/hwtracing/intel_th/core.c index 86c8efecd7c2..7f85d69fc8a3 100644 --- a/drivers/hwtracing/intel_th/core.c +++ b/drivers/hwtracing/intel_th/core.c @@ -857,8 +857,9 @@ static irqreturn_t intel_th_irq(int irq, void *data) /** * intel_th_alloc() - allocate a new Intel TH device and its subdevices * @dev: parent device + * @drvdata: driver-specific data * @devres: resources indexed by th_mmio_idx - * @irq: irq number + * @ndevres: Number of device resources. */ struct intel_th * intel_th_alloc(struct device *dev, const struct intel_th_drvdata *drvdata, -- 2.20.1.7.g153144c