mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Alexey Dobriyan" <adobriyan@gmail.com>
To: "Al Viro" <viro@ftp.linux.org.uk>
Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] misuse of strstr
Date: Wed, 11 Oct 2006 22:24:41 +0400	[thread overview]
Message-ID: <b6fcc0a0610111124j3a7d8575mefd218e23272ba0e@mail.gmail.com> (raw)
In-Reply-To: <20061011162545.GC29920@ftp.linux.org.uk>

> --- a/fs/gfs2/locking/dlm/mount.c
> +++ b/fs/gfs2/locking/dlm/mount.c
> @@ -45,7 +45,7 @@ static struct gdlm_ls *init_gdlm(lm_call
>  	strncpy(buf, table_name, 256);
>  	buf[255] = '\0';
>
> -	p = strstr(buf, ":");
> +	p = strchr(buf, ':');

arch/mips/arc/cmdline.c:55: s = strstr(prom_argv(actr), "=");

sorry for absence of patch, I'm on wonders of BY dial-up _and_ Gmail
web interface right now.

      reply	other threads:[~2006-10-11 18:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 16:25 Al Viro
2006-10-11 18:24 ` Alexey Dobriyan [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=b6fcc0a0610111124j3a7d8575mefd218e23272ba0e@mail.gmail.com \
    --to=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=viro@ftp.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

all inboxes | Powered by JetHome®