Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp441824rdb; Mon, 15 Jan 2024 02:16:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPDKxADXa5uCRtt7QBNDA7EoOe2Dgy2K70zWSBoqBZTh0/kZ+0bvnmXIWbrPsCFtdHIaYK X-Received: by 2002:aa7:c58e:0:b0:559:411d:fdfc with SMTP id g14-20020aa7c58e000000b00559411dfdfcmr412681edq.150.1705313764108; Mon, 15 Jan 2024 02:16:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705313764; cv=none; d=google.com; s=arc-20160816; b=ipXf8JKowe9x51xXm9FAQWahg7tlTCXr7ONJMCrm9RJEnl7OA80iE9CzhoQvw/UA3F zpiFS6G6ytTOFUhJjYpqUY5BjPQF/wKx0uIB4DbBhXbJIS2/gIoJJHuuSNK0ZABsRLjw DYii6OrpfRfGgSkAEj4NiNbMm9Hy7a5Lg8RiIcQiJk3zguU0YdvyGGPfnes/YDNDJT2P wNob29iPEyXuMqsuADDX7ljQNBb+acrHTOR+Zb3Fk3RPUN0hT+7qtDi/hUBEtbMtki4E nUsky9YmVUk8Yp1f917oQGhnEFBIJuhGm52AaxRoIwnSRSFSL9opOHXZSgHhds+rxE0Q Eshg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=F63g5TCHfS+ybr9y0m7zDGbIPC00mu+XgQYirt8SpiU=; fh=0kioU9b/gFrHoZjV4vDmqBf4tKMaHkLWzJGoKEnOj34=; b=kAIxltZPAHxb0erNnOjUS+viyC6AIXubBWZN6ZlOGw4vuP/TKKdAZtXxNtIza8AweD s4RWROgN8VKhR+giEVRE7TdlYkV8qejeigoXVaVTN9XAkI3hWMAs/B3LA+a+qITM+aal C/EQphzoklzlFXc5JwtFkkYRlZGZRocpB4pqJDMiVElXwx7AegmsuYSfRQ/N5fa+EF9e Pw/l2thK6UV+8lfVZr/XmZQDyZl2m3Yua+8xXqTpcovCa84OWMO3wwtLUOeHR1uT3qo3 zQDI69FnpLD+ZFGPDVBHvKPiZhFZiG02DMXw28Dr102Q6N7KYF2AtJZ8c0ehfb3LoLp4 oR7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=mD6V0ZKY; spf=pass (google.com: domain of linux-kernel+bounces-25868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25868-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t21-20020a50ab55000000b00556008f4724si3724986edc.466.2024.01.15.02.16.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 02:16:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=mD6V0ZKY; spf=pass (google.com: domain of linux-kernel+bounces-25868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25868-linux.lists.archive=gmail.com@vger.kernel.org" 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 3496C1F21B6C for ; Mon, 15 Jan 2024 10:16:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCBB2F9F8; Mon, 15 Jan 2024 10:15:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="mD6V0ZKY" Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 557FDF9C7 for ; Mon, 15 Jan 2024 10:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-7ce3c7566e0so1913173241.1 for ; Mon, 15 Jan 2024 02:15:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1705313752; x=1705918552; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F63g5TCHfS+ybr9y0m7zDGbIPC00mu+XgQYirt8SpiU=; b=mD6V0ZKYqQy/Vm1ewV4M80fgdGvmb9oGTGRDiEqzU8h2SCqJhruvrjS0uJBn2VtSoP q+dmHedgy7P2edCjNm4wLrXlFCAtOaFBS4WK7XJhRGt7efkVDkkwy0gOgIuLDVVarCKm 0Nb2seAUIRw6TGCva/NlFW4Dg/EjUYTHrSRU/Cb5wd0snuoeAu9y4WAwULdqfl3VwpqS w0D0Os557OAnZzUlytw8M5X/TOUoIyCjDZcht3032U2ZVLKFsmfJ8qUyPNRlLeXVcflQ snkC4NtYf3MYsAHoyfZ/D5VvB7Mhz1gO1lFkYV+XfgZ0BrKeH0bIXbiylL4NI20As7t4 cDOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705313752; x=1705918552; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F63g5TCHfS+ybr9y0m7zDGbIPC00mu+XgQYirt8SpiU=; b=SC+Fd/SJoh4Y+R0hxvFmlt9eazhJKGmJdq7RRsUjqcsjnrkXNLnek1H/5Ebb132SRK GR24+pftIvOruRIOolkty61ciQVEfvzRDgLstvbgKeBOwEd1DrXOf41Xl+YwUY5mdWNN Q36R7Rktqb28dsbzzYTr18T9++trM4qnZN1anybQhTJEWvMEdZ6gm9GQH2s6yg3Nuiga 3Jgsz3rwwi2dA6gQoNr7syaPo67M4P5dJyHy9AEVyzEumEvJPwjrQMvf4zVxpiOKPMug a1spY++feekOWwDZ3pUiYyVmbekj+uc77mgZ4Saq0VbwCqS526xw0gIjuwmbuhsapZjd zMSg== X-Gm-Message-State: AOJu0Yy7SPL/UsfHj/z/dbDh1P3LltFcwVm1Mz4kjyn8d89HNZWFQFmB P2zPLZ90QQm2j/Z6nU4hnCijvQAFS5s/qMtZuKt+pbWP4BoDOA== X-Received: by 2002:a05:6102:22dc:b0:468:1cc5:ed88 with SMTP id a28-20020a05610222dc00b004681cc5ed88mr1232263vsh.23.1705313752126; Mon, 15 Jan 2024 02:15:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240115052140.18858-1-rdunlap@infradead.org> In-Reply-To: <20240115052140.18858-1-rdunlap@infradead.org> From: Bartosz Golaszewski Date: Mon, 15 Jan 2024 11:15:41 +0100 Message-ID: Subject: Re: [PATCH v2] gpio: EN7523: fix kernel-doc warnings To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, John Crispin , Linus Walleij , Felix Fietkau , linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 15, 2024 at 6:21=E2=80=AFAM Randy Dunlap wrote: > > Add "struct" keyword and explain the @dir array differently to > prevent kernel-doc warnings: > > gpio-en7523.c:22: warning: cannot understand function prototype: 'struct = airoha_gpio_ctrl ' > gpio-en7523.c:27: warning: Function parameter or struct member 'dir' not = described in 'airoha_gpio_ctrl' > gpio-en7523.c:27: warning: Excess struct member 'dir0' description in 'ai= roha_gpio_ctrl' > gpio-en7523.c:27: warning: Excess struct member 'dir1' description in 'ai= roha_gpio_ctrl' > > Signed-off-by: Randy Dunlap > Cc: John Crispin > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Felix Fietkau > Cc: linux-gpio@vger.kernel.org > --- > v2: Add commit text. > > drivers/gpio/gpio-en7523.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff -- a/drivers/gpio/gpio-en7523.c b/drivers/gpio/gpio-en7523.c > --- a/drivers/gpio/gpio-en7523.c > +++ b/drivers/gpio/gpio-en7523.c > @@ -12,11 +12,11 @@ > #define AIROHA_GPIO_MAX 32 > > /** > - * airoha_gpio_ctrl - Airoha GPIO driver data > + * struct airoha_gpio_ctrl - Airoha GPIO driver data > * @gc: Associated gpio_chip instance. > * @data: The data register. > - * @dir0: The direction register for the lower 16 pins. > - * @dir1: The direction register for the higher 16 pins. > + * @dir: [0] The direction register for the lower 16 pins. > + * [1]: The direction register for the higher 16 pins. > * @output: The output enable register. > */ > struct airoha_gpio_ctrl { Could you add a Fixes: tag too, please? Bartosz