public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Mike Pagano <mpagano@gentoo.org>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: [PATCH] kconfig: Gracefully exit if the default config files are not present
Date: Thu, 15 Aug 2013 17:45:03 +0200	[thread overview]
Message-ID: <520CF77F.4040802@suse.cz> (raw)
In-Reply-To: <6523722.tcSzR9xRoc@comanche>

Hi Mike,

On 13.8.2013 23:29, Mike Pagano wrote:
> Gracefully exit if the default config files are not present. (.config and 
> .config.old)

Two minor nitpicks about the changelog: The subject line would be more
to the point if it mentioned the name of the utility you are fixing.
Otherwise, people might get the impression that you are fixing a tool
from scripts/kconnfig, like 'make oldconfig' or 'make menuconfig'. Just
change it to

diffconfig: Gracefully exit if the default config files are not present


> Diffconfig is a utility script for comparing kernel configuration files.

This is superfluous information. Just describe the change you made and
that's it.


> -    a = readconfig(file(configa_filename))
> -    b = readconfig(file(configb_filename))
> +    try:
> +        a = readconfig(file(configa_filename))
> +        b = readconfig(file(configb_filename))
> +    except IOError,(errno, strerror):
> +       print "I/O error(%s: %s)\n" % (errno, strerror)
> +       usage()

The second block is missing one column of indentation.

Michal

      reply	other threads:[~2013-08-15 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 21:29 [PATCH] kconfig: Gracefully exit if the default config files are not present Mike Pagano
2013-08-15 15:45 ` Michal Marek [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=520CF77F.4040802@suse.cz \
    --to=mmarek@suse.cz \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=mpagano@gentoo.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