Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642617

Re: [PATCH] rt2x00: improve calling conventions for register accessors

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] rt2x00: improve calling conventions for register accessors
Date 2017-05-16 17:40 +0200
Message-ID <tHMJP-7nR-5@gated-at.bofh.it> (permalink)
References <tHptU-XY-23@gated-at.bofh.it> <tHJiW-59w-7@gated-at.bofh.it> <tHJiW-59w-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Johannes Berg <johannes@sipsolutions.net>
Date: Tue, 16 May 2017 13:58:56 +0200

> On Tue, 2017-05-16 at 13:55 +0200, Stanislaw Gruszka wrote:
>> 
>> In rt2x00 driver we use poor convention in other kind of registers
>> accessors like bbp, mac, eeprom. I dislike to changing only rfcsr
>> accessors and leaving others in the old way. And changing all
>> accessors would be massive and error prone change, which I'm not
>> prefer either.
> 
> That's a stupid argument, but for the sake of it - the conversion can
> easily be done with coccinelle/spatch without being "error prone".

Agreed, we have tools for this.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] rt2x00: improve calling conventions for register  accessors Stanislaw Gruszka <sgruszka@redhat.com> - 2017-05-15 16:40 +0200
  Re: [PATCH] rt2x00: improve calling conventions for register  accessors David Miller <davem@davemloft.net> - 2017-05-15 16:50 +0200
    Re: [PATCH] rt2x00: improve calling conventions for register  accessors Stanislaw Gruszka <sgruszka@redhat.com> - 2017-05-16 14:00 +0200
      Re: [PATCH] rt2x00: improve calling conventions for register  accessors Johannes Berg <johannes@sipsolutions.net> - 2017-05-16 14:00 +0200
        Re: [PATCH] rt2x00: improve calling conventions for register  accessors Stanislaw Gruszka <sgruszka@redhat.com> - 2017-05-16 14:50 +0200
        Re: [PATCH] rt2x00: improve calling conventions for register  accessors David Miller <davem@davemloft.net> - 2017-05-16 17:40 +0200
      Re: [PATCH] rt2x00: improve calling conventions for register  accessors Jes Sorensen <jes.sorensen@gmail.com> - 2017-05-16 15:50 +0200
        Re: [PATCH] rt2x00: improve calling conventions for register accessors Arnd Bergmann <arnd@arndb.de> - 2017-05-16 16:30 +0200
          Re: [PATCH] rt2x00: improve calling conventions for register  accessors Jes Sorensen <jes.sorensen@gmail.com> - 2017-05-16 16:40 +0200
            Re: [PATCH] rt2x00: improve calling conventions for register accessors Arnd Bergmann <arnd@arndb.de> - 2017-05-17 16:50 +0200
      Re: [PATCH] rt2x00: improve calling conventions for register  accessors Stanislaw Gruszka <sgruszka@redhat.com> - 2017-05-16 16:30 +0200
        Re: [PATCH] rt2x00: improve calling conventions for register accessors Arnd Bergmann <arnd@arndb.de> - 2017-05-16 17:20 +0200

csiph-web