public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Chris Metcalf <cmetcalf@tilera.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arch/tile: Miscellaneous cleanup changes.
Date: Sat, 26 Jun 2010 11:56:28 +0200	[thread overview]
Message-ID: <201006261156.28495.arnd@arndb.de> (raw)
In-Reply-To: <201006252110.o5PLArqD010774@farm-0002.internal.tilera.com>

On Friday 25 June 2010, Chris Metcalf wrote:
> This commit is primarily changes caused by reviewing "sparse"
> and "checkpatch" output on our sources, so is somewhat noisy, since
> things like "printk() -> pr_err()" (or whatever) throughout the
> codebase tend to get tedious to read.  Rather than trying to tease
> apart precisely which things changed due to which type of code
> review, this commit includes various cleanups in the code:
> 
> - sparse: Add declarations in headers for globals.
> - sparse: Fix __user annotations.
> - sparse: Using gfp_t consistently instead of int.
> - sparse: removing functions not actually used.
> - checkpatch: Clean up printk() warnings by using pr_info(), etc.;
>   also avoid partial-line printks except in bootup code.
>   - checkpatch: Use exposed structs rather than typedefs.
>   - checkpatch: Change some C99 comments to C89 comments.
> 
> In addition, a couple of minor other changes are rolled in
> to this commit:
> 
> - Add support for a "raise" instruction to cause SIGFPE, etc., to be raised.
> - Remove some compat code that is unnecessary when we fully eliminate
>   some of the deprecated syscalls from the generic syscall ABI.
> - Update the tile_defconfig to reflect current config contents.
> 
> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

Hi Chris,

As far as I can tell, all the changes in this patch look reasonable, but
as a rule you should never mix functional changes and cleanups in a single
patch. This is both for review purposes as well as for being able to bisect
specific regressions that might be introduced by the patch.

	Arnd

  reply	other threads:[~2010-06-26  9:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-25 21:04 [PATCH] arch/tile: Miscellaneous cleanup changes Chris Metcalf
2010-06-26  9:56 ` Arnd Bergmann [this message]
2010-06-27 16:39   ` Chris Metcalf

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=201006261156.28495.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=cmetcalf@tilera.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