public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCHv2 1/2] lib: make _tolower() public
Date: Mon, 18 Jul 2011 23:52:40 +0300	[thread overview]
Message-ID: <20110718205239.GA3543@p183.telecom.by> (raw)
In-Reply-To: <9ebc58c68603c4a5d084e77d355b77dc72225a3f.1310993826.git.andriy.shevchenko@linux.intel.com>

ctype.h is better place, otherwise

Acked-by: Alexey Dobriyan <adobriyan@gmail.com>

> --- a/include/linux/kernel.h
> +++ b/include/linux/kernel.h
> @@ -189,6 +189,12 @@ NORET_TYPE void complete_and_exit(struct completion *, long)
>  	ATTRIB_NORET;
>  
>  /* Internal, do not use. */
> +static inline char _tolower(const char c)
> +{
> +       return c | 0x20;
> +}

  parent reply	other threads:[~2011-07-18 20:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  8:23 [PATCH 1/2] lib: make TOLOWER macro public Andy Shevchenko
2011-07-18  8:23 ` [PATCH 2/2] lib: call native hex_to_bin() inside _kstrtoull() Andy Shevchenko
2011-07-18 10:31   ` Alexey Dobriyan
2011-07-18 10:39     ` Andy Shevchenko
2011-07-18 12:57     ` [PATCHv2 1/2] lib: make _tolower() public Andy Shevchenko
2011-07-18 12:57       ` [PATCHv2 2/2] lib: kstrtox: add performance test case Andy Shevchenko
2011-07-18 20:52       ` Alexey Dobriyan [this message]
2011-07-19  7:17         ` [PATCHv2.1] lib: make _tolower() public Andy Shevchenko
2011-07-18 19:05     ` [PATCH 2/2] lib: call native hex_to_bin() inside _kstrtoull() Andy Shevchenko
2011-07-18 10:25 ` [PATCH 1/2] lib: make TOLOWER macro public Alexey Dobriyan
2011-07-18 10:36   ` Andy Shevchenko

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=20110718205239.GA3543@p183.telecom.by \
    --to=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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