From: Ingo Molnar <mingo@elte.hu>
To: Steven Noonan <steven@uplinklabs.net>
Cc: linux-kernel@vger.kernel.org,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: [PATCH] drivers/ide/ide-probe.c: uninitialized variable 'rc'
Date: Wed, 10 Sep 2008 08:55:03 +0200 [thread overview]
Message-ID: <20080910065503.GA31059@elte.hu> (raw)
In-Reply-To: <1220994461-15962-1-git-send-email-steven@uplinklabs.net>
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
* Steven Noonan <steven@uplinklabs.net> wrote:
> Fixed the warning by initializing 'rc' to zero.
>
> Signed-off-by: Steven Noonan <steven@uplinklabs.net>
> ---
> drivers/ide/ide-probe.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
i've Cc:-ed Bartlomiej, who maintains drivers/ide/ide-probe.c. Your
fix/cleanup looks fine to me.
About the "whom to Cc:" question. Sadly, the MAINTAINERS file is
non-obvious to parse to newbies: there's no clear mapping from file to
maintainer. (it's rather useless even to oldbies.)
The method i use to determine whom to Cc: if i change something in a
file is this ~/bin/git-authors script:
#!/bin/bash
git log $@ | grep Author: | cut -d: -f2 | sort | uniq -c | sort -n | tail -5
(also attached)
for drivers/ide/ide-probe.c, it gives:
earth4:~/tip> git-authors-email drivers/ide/ide-probe.c
2 Christoph Lameter <christoph@lameter.com>
2 Greg Kroah-Hartman <gregkh@suse.de>
3 Jens Axboe <jens.axboe@oracle.com>
4 Jens Axboe <axboe@suse.de>
135 Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
if there output of git-authors-email is too flat and you are unsure
about whom to Cc:, take a look at git-log drivers/ide/ide-probe.c output
and chose the people who do material changes to a file (not drive-by
changes).
Ingo
[-- Attachment #2: git-authors-email --]
[-- Type: text/plain, Size: 151 bytes --]
#[ $# -lt "1" ] && { echo 'usage: git authors <files...>'; exit -1; }
git log $@ | grep Author: | cut -d: -f2 | sort | uniq -c | sort -n | tail -5
next prev parent reply other threads:[~2008-09-10 6:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 21:07 [PATCH] drivers/ide/ide-probe.c: uninitialized variable 'rc' Steven Noonan
2008-09-10 6:55 ` Ingo Molnar [this message]
2008-09-10 21:09 ` Bartlomiej Zolnierkiewicz
2008-09-10 21:19 ` Steven Noonan
2008-09-10 22:40 ` Elias Oltmanns
2008-09-10 22:44 ` Steven Noonan
2008-09-27 15:40 ` Bartlomiej Zolnierkiewicz
2008-10-05 16:14 ` Bartlomiej Zolnierkiewicz
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=20080910065503.GA31059@elte.hu \
--to=mingo@elte.hu \
--cc=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=steven@uplinklabs.net \
/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.