From nobody Sun Feb 8 23:41:39 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 0F6C0156F3A for ; Sat, 11 Jan 2025 06:28:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736576934; cv=none; b=aN40g3PP7ItiR+h1IBoGCGJ0Asimo391spcXtTh/vd4XWDe+Q/vlvOoG92obuj9dfZiJjcxNWff5M1nOikBYa832tA1rZAMKIKksUvc6xHHYfySfW6BKznrP82EZMg766Gdo9jFt3RhVmyOOwMaKMlwk9cH9MWdejPKJoise0PQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736576934; c=relaxed/simple; bh=K5OHPY261GGoEWttR+AjH7huYhZVpHut6+T59dVH480=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hPJMSJO73tlYR6TUg1VHAgN+QO4K5f8DiT4EKNxAjfLEcysO5BMuKGDU3RdrEuSxg/1DZn44o3gxPbWVoKpxFkgGTydhyFXBXdXOQFhF1VsPMPefPHiP8Tqf4xD5aOZgF8CQW2nOVijB65U0gBwPGCNkQOq/3yCp6P7yaf23DRw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=hFQN0d6H; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hFQN0d6H" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=VJnP86zSGLfrU8jcN8NtE6VdszgvApUiLGOsN3HhXE0=; b=hFQN0d6H3vKke2Nbr7jLdTr0s4 DUQZT4b+8kfsJtQkDW6n9ul3JD829pWK5uDcwax8SRxaExonhkv2Nzmc8GYHRkMDBsKUO00/waXpr yTtDUb5/DDyKcLaF77GO+zkytDooXUiaruVMFDVWdvEBu8WH5HxLjnsiO7YF5P5LPscKSXQ5nMXNX SHU4+vTRpol8lP/vy++Oy5OyZy6gWXfiQtrRDSP5zrcqvot2XlO75lk050+utuMz/9m7lTZ5dpFfV seehG8D7T8mtqtGG5u6iIfERUM6CgzlFfRX1picMXzsGUywD87DjqzTXyNxwQvkyV+qQImk4dTjB2 hKngkelQ==; Received: from [50.53.2.24] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1tWUzM-00000000HCB-0xjg; Sat, 11 Jan 2025 06:28:52 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Alexander Shishkin , Greg Kroah-Hartman Subject: [PATCH] intel_th: core: fix kernel-doc warnings Date: Fri, 10 Jan 2025 22:28:51 -0800 Message-ID: <20250111062851.910530-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Correct the function parameters based on a previous code patch to eliminate kernel-doc warnings. drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struc= t member 'drvdata' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:866: warning: Function parameter or struc= t member 'ndevres' not described in 'intel_th_alloc' drivers/hwtracing/intel_th/core.c:866: warning: Excess function parameter '= irq' description in 'intel_th_alloc' Fixes: 62a593022c32 ("intel_th: Communicate IRQ via resource") Signed-off-by: Randy Dunlap Cc: Alexander Shishkin Cc: Greg Kroah-Hartman --- drivers/hwtracing/intel_th/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-next-20250108.orig/drivers/hwtracing/intel_th/core.c +++ linux-next-20250108/drivers/hwtracing/intel_th/core.c @@ -857,8 +857,9 @@ static irqreturn_t intel_th_irq(int irq, /** * intel_th_alloc() - allocate a new Intel TH device and its subdevices * @dev: parent device + * @drvdata: data private to the driver * @devres: resources indexed by th_mmio_idx - * @irq: irq number + * @ndevres: number of entries in the @devres resources */ struct intel_th * intel_th_alloc(struct device *dev, const struct intel_th_drvdata *drvdata,