public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@baylibre•com>
To: Chuhong Yuan <hslester96@gmail•com>
Cc: Andrew Lunn <andrew@lunn•ch>,
	linux-omap@vger•kernel.org, Jason Cooper <jason@lakedaemon•net>,
	Kevin Hilman <khilman@kernel•org>,
	Tony Lindgren <tony@atomide•com>,
	Gregory Clement <gregory.clement@bootlin•com>,
	Chuhong Yuan <hslester96@gmail•com>,
	Russell King <linux@armlinux•org.uk>,
	linux-kernel@vger•kernel.org,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail•com>,
	linux-arm-kernel@lists•infradead.org,
	Alexander Clouter <alex@digriz•org.uk>
Subject: Re: [PATCH] ARM: Replace strncmp with str_has_prefix
Date: Mon, 05 Aug 2019 11:31:57 -0700	[thread overview]
Message-ID: <7hzhknh3aa.fsf@baylibre.com> (raw)
In-Reply-To: <20190730024426.17262-1-hslester96@gmail.com>

Chuhong Yuan <hslester96@gmail•com> writes:

> In commit b6b2735514bc
> ("tracing: Use str_has_prefix() instead of using fixed sizes")
> the newly introduced str_has_prefix() was used
> to replace error-prone strncmp(str, const, len).
> Here fix codes with the same pattern.
>
> Signed-off-by: Chuhong Yuan <hslester96@gmail•com>
> ---
>  arch/arm/kernel/module-plts.c        | 2 +-
>  arch/arm/mach-omap2/omap_device.c    | 4 ++--
>  arch/arm/mach-omap2/pm-debug.c       | 8 ++++----
>  arch/arm/mach-omap2/pm.c             | 2 +-
>  arch/arm/mach-omap2/pm44xx.c         | 2 +-
>  arch/arm/mach-omap2/sr_device.c      | 8 ++++----
>  arch/arm/mach-orion5x/ts78xx-setup.c | 4 ++--

For the OMAP stuff:

Reviewed-by: Kevin Hilman <khilman@baylibre•com>  # arch/arm/mach-omap2/*

Kevin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2019-08-05 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30  2:44 [PATCH] ARM: Replace strncmp with str_has_prefix Chuhong Yuan
2019-08-05 18:31 ` Kevin Hilman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7hzhknh3aa.fsf@baylibre.com \
    --to=khilman@baylibre$(echo .)com \
    --cc=alex@digriz$(echo .)org.uk \
    --cc=andrew@lunn$(echo .)ch \
    --cc=gregory.clement@bootlin$(echo .)com \
    --cc=hslester96@gmail$(echo .)com \
    --cc=jason@lakedaemon$(echo .)net \
    --cc=khilman@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-omap@vger$(echo .)kernel.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=sebastian.hesselbarth@gmail$(echo .)com \
    --cc=tony@atomide$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox