linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mips: sgi-ip22: Remove duplicate 'of' in two places.
@ 2022-06-21 16:21 Jiang Jian
  2022-06-21 19:47 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-21 16:21 UTC (permalink / raw)
  To: tsbogend
  Cc: srinivas.kandagatla, rafael, sudeep.holla, alexandre.belloni,
	xkernel.wang, u.kleine-koenig, jiangjian, linux-mips,
	linux-kernel

file: ./arch/mips/sgi-ip22/ip22-gio.c
line: 44
  * @ids: array of of device match structures to search in
changed to
  * @ids: array of device match structures to search in

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 arch/mips/sgi-ip22/ip22-gio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
index 38d12f417e48..03d96638f957 100644
--- a/arch/mips/sgi-ip22/ip22-gio.c
+++ b/arch/mips/sgi-ip22/ip22-gio.c
@@ -41,7 +41,7 @@ static struct device gio_bus = {
 /**
  * gio_match_device - Tell if an of_device structure has a matching
  * gio_match structure
- * @ids: array of of device match structures to search in
+ * @ids: array of device match structures to search in
  * @dev: the of device structure to match against
  *
  * Used by a driver to check whether an of_device present in the
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mips: sgi-ip22: Remove duplicate 'of' in two places.
  2022-06-21 16:21 [PATCH] mips: sgi-ip22: Remove duplicate 'of' in two places Jiang Jian
@ 2022-06-21 19:47 ` Uwe Kleine-König
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2022-06-21 19:47 UTC (permalink / raw)
  To: Jiang Jian
  Cc: tsbogend, srinivas.kandagatla, rafael, sudeep.holla,
	alexandre.belloni, xkernel.wang, linux-mips, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

The Subject speaks about two places, there is only one change here
however?

On Wed, Jun 22, 2022 at 12:21:14AM +0800, Jiang Jian wrote:
> file: ./arch/mips/sgi-ip22/ip22-gio.c
> line: 44
>   * @ids: array of of device match structures to search in
> changed to
>   * @ids: array of device match structures to search in

I know writing a sensible commit log is hard, but this is really very
useless. This is a plain repetition of the diff below.

Additionally I'm not sure the patch is right. The comment speaks about
of (= open firmware) devices. So if you want to improve here, maybe make
it read

+ * @match: array gio_device_id structures to search in

But please double check this is indeed sensible; I didn't.

(But yes, @ids is wrong, the parameter is named match.)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-21 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-21 16:21 [PATCH] mips: sgi-ip22: Remove duplicate 'of' in two places Jiang Jian
2022-06-21 19:47 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).