All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@amd64.org>
To: Valdis.Kletnieks@vt.edu
Cc: Rohit Yadav <rohityadav89@gmail.com>,
	len.brown@intel.com, trenn@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Arch: x86: process: Fix a compilation warning.
Date: Mon, 30 May 2011 20:22:21 +0200	[thread overview]
Message-ID: <20110530182221.GA16214@gere.osrc.amd.com> (raw)
In-Reply-To: <13206.1306779099@turing-police.cc.vt.edu>

On Mon, May 30, 2011 at 02:11:39PM -0400, Valdis.Kletnieks@vt.edu wrote:
> On Mon, 30 May 2011 23:28:47 +0530, Rohit Yadav said:
> 
> > Attached: New patch.
> 
> Still needs help:
> 
> > Remove unknown escape sequence \i in idle_setup.
> 
> > -		WARN_ONCE(1, "\idle=mwait\" will be removed in 2012\"\n");
> > +		WARN_ONCE(1, "\"idle=mwait\" will be removed in 2012.\n");
> 
> Changelog should say "Fix mismatched escaped quotes to resolve compiler warning" or
> similar. You should explain *what* the patch does (fix the quotes) and *why*
> (because it's broken and won't compile).

Yep, all valid points. Another one would be to search whether this got
already fixed before wasting effort:

http://git.kernel.org/tip/598e887d8b01655780c81cc86a9e7820ed091580

But it's not like there's nothing else that needs fixing in Linux. I'd
suggest using the new 'make W=' (do 'make help' for more info) build
option to build single objects and have gcc do more extensive checks.
Some of them actually are valid and need fixing.

Thanks.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2011-05-30 18:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30 17:30 [PATCH] Arch: x86: process: Fix a compilation warning Rohit Yadav
2011-05-30 17:40 ` Valdis.Kletnieks
2011-05-30 17:58   ` Rohit Yadav
2011-05-30 18:11     ` Valdis.Kletnieks
2011-05-30 18:22       ` Borislav Petkov [this message]
2011-05-30 19:52         ` Rohit Yadav
2011-05-30 20:00           ` Randy Dunlap
2011-05-30 20:21             ` Borislav Petkov
2011-05-30 20:17           ` Borislav Petkov
2011-05-30 23:22           ` Jesper Juhl

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=20110530182221.GA16214@gere.osrc.amd.com \
    --to=bp@amd64.org \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rohityadav89@gmail.com \
    --cc=trenn@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.