linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Cc: linux-wireless@vger.kernel.org,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH] Add Realtek 8187B support
Date: Wed, 09 Apr 2008 14:59:23 -0400	[thread overview]
Message-ID: <1207767563.3944.7.camel@dv> (raw)
In-Reply-To: <200804091436.23685.herton@mandriva.com.br>

On Wed, 2008-04-09 at 14:36 -0300, Herton Ronaldo Krzesinski wrote:

> I run checkpatch.pl, I just didn't fixed these because they were lines already
> this way, my patch got these because I moved reset code common to rtl8187b
> and rtl8187 (new rtl8187_cmd_reset function) out of rtl8187_init_hw. Also I
> introduced some new ones, these lines are over 80 characters:
> rtl818x_iowrite8(priv, &priv->map->CONFIG3, reg | RTL818X_CONFIG3_ANAPARAM_WRITE);
> rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG);
> 
> Should I fix all of these ocurrences in rtl8187b patch or in a new patch?

I feel bad that you have to deal with sloppy code left by others, but
these are the rules of the game.  I suggest that you do all cleanups
first as separate patches, and then the user-visible changes.  The only
exception is then your user visible changes replace the old code.

I could do some cleanups myself, but I think it would be easier for you
to do it at once rather than merge my patches.

Or maybe we should ask the existing maintainers to prepare a clean
playground for new contributors?  Michael?  Andrea?

-- 
Regards,
Pavel Roskin

  reply	other threads:[~2008-04-09 18:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08 22:31 [PATCH] Add Realtek 8187B support Herton Ronaldo Krzesinski
2008-04-09  4:22 ` Pavel Roskin
2008-04-09 17:36   ` Herton Ronaldo Krzesinski
2008-04-09 18:59     ` Pavel Roskin [this message]
2008-04-09  6:31 ` Pavel Roskin
2008-04-09 18:07   ` Herton Ronaldo Krzesinski
2008-04-09 23:31     ` Herton Ronaldo Krzesinski
2008-04-09 15:46 ` Larry Finger
2008-04-09 18:12   ` Herton Ronaldo Krzesinski
2008-04-10  3:39 ` Larry Finger
2008-04-10  4:43   ` Herton Ronaldo Krzesinski
2008-04-11  4:57     ` Larry Finger
2008-04-12  2:36       ` Herton Ronaldo Krzesinski
2008-04-12 17:29         ` Pavel Roskin
2008-04-12 22:49           ` Larry Finger

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=1207767563.3944.7.camel@dv \
    --to=proski@gnu.org \
    --cc=herton@mandriva.com.br \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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;
as well as URLs for NNTP newsgroup(s).