linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
@ 2012-04-26  4:23 Nathan Hintz
  2012-04-26  8:56 ` Arend van Spriel
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Hintz @ 2012-04-26  4:23 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, hauke, Nathan Hintz

Nathan Hintz (6):
  bcma: Find names of non BCM cores
  bcma: Move initialization of SPROM to prevent overwrite
  bcma: Account for variable PCI memory base/size
  bcma: reads/writes are always 4 bytes, so always map 4 bytes
  bcma: Add __devexit to bcma_host_pci_remove
  bcma: Add flush for BCMA_RESET_CTL write

 arch/mips/bcm47xx/setup.c      |    4 +++
 arch/mips/bcm47xx/sprom.c      |    2 -
 drivers/bcma/core.c            |    1 +
 drivers/bcma/driver_pci_host.c |   10 +++---
 drivers/bcma/host_pci.c        |    4 +-
 drivers/bcma/scan.c            |   54 +++++++++++++++++++++++++++++----------
 6 files changed, 52 insertions(+), 23 deletions(-)

-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
  2012-04-26  4:23 [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT Nathan Hintz
@ 2012-04-26  8:56 ` Arend van Spriel
  2012-04-26 11:50   ` Kalle Valo
  0 siblings, 1 reply; 7+ messages in thread
From: Arend van Spriel @ 2012-04-26  8:56 UTC (permalink / raw)
  To: Nathan Hintz; +Cc: linville, linux-wireless, hauke

On 04/26/2012 06:23 AM, Nathan Hintz wrote:
> Nathan Hintz (6):
>    bcma: Find names of non BCM cores
>    bcma: Move initialization of SPROM to prevent overwrite
>    bcma: Account for variable PCI memory base/size
>    bcma: reads/writes are always 4 bytes, so always map 4 bytes
>    bcma: Add __devexit to bcma_host_pci_remove
>    bcma: Add flush for BCMA_RESET_CTL write
>
>   arch/mips/bcm47xx/setup.c      |    4 +++
>   arch/mips/bcm47xx/sprom.c      |    2 -
>   drivers/bcma/core.c            |    1 +
>   drivers/bcma/driver_pci_host.c |   10 +++---
>   drivers/bcma/host_pci.c        |    4 +-
>   drivers/bcma/scan.c            |   54 +++++++++++++++++++++++++++++----------
>   6 files changed, 52 insertions(+), 23 deletions(-)
>

None of these patches have any description. Some motivation for the 
changes would be appreciated like 'reported problem', 'new target 
support', etc.

Gr. AvS


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
  2012-04-26  8:56 ` Arend van Spriel
@ 2012-04-26 11:50   ` Kalle Valo
  2012-05-02 18:11     ` John W. Linville
  0 siblings, 1 reply; 7+ messages in thread
From: Kalle Valo @ 2012-04-26 11:50 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: Nathan Hintz, linville, linux-wireless, hauke

"Arend van Spriel" <arend@broadcom.com> writes:

> On 04/26/2012 06:23 AM, Nathan Hintz wrote:
>> Nathan Hintz (6):
>>    bcma: Find names of non BCM cores
>>    bcma: Move initialization of SPROM to prevent overwrite
>>    bcma: Account for variable PCI memory base/size
>>    bcma: reads/writes are always 4 bytes, so always map 4 bytes
>>    bcma: Add __devexit to bcma_host_pci_remove
>>    bcma: Add flush for BCMA_RESET_CTL write
>>
>>   arch/mips/bcm47xx/setup.c      |    4 +++
>>   arch/mips/bcm47xx/sprom.c      |    2 -
>>   drivers/bcma/core.c            |    1 +
>>   drivers/bcma/driver_pci_host.c |   10 +++---
>>   drivers/bcma/host_pci.c        |    4 +-
>>   drivers/bcma/scan.c            |   54 +++++++++++++++++++++++++++++----------
>>   6 files changed, 52 insertions(+), 23 deletions(-)
>>
>
> None of these patches have any description. Some motivation for the
> changes would be appreciated like 'reported problem', 'new target
> support', etc.

I would say that it's required. Anyone can see the diff and see what was
changed, but nobody will figure out why the change was made unless it's
described in the commit log. So it's important to answer the question
"Why?".

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
  2012-04-26 11:50   ` Kalle Valo
@ 2012-05-02 18:11     ` John W. Linville
  2012-05-02 18:53       ` Arend van Spriel
  0 siblings, 1 reply; 7+ messages in thread
From: John W. Linville @ 2012-05-02 18:11 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Arend van Spriel, Nathan Hintz, linux-wireless, hauke

On Thu, Apr 26, 2012 at 02:50:54PM +0300, Kalle Valo wrote:
> "Arend van Spriel" <arend@broadcom.com> writes:
> 
> > On 04/26/2012 06:23 AM, Nathan Hintz wrote:
> >> Nathan Hintz (6):
> >>    bcma: Find names of non BCM cores
> >>    bcma: Move initialization of SPROM to prevent overwrite
> >>    bcma: Account for variable PCI memory base/size
> >>    bcma: reads/writes are always 4 bytes, so always map 4 bytes
> >>    bcma: Add __devexit to bcma_host_pci_remove
> >>    bcma: Add flush for BCMA_RESET_CTL write
> >>
> >>   arch/mips/bcm47xx/setup.c      |    4 +++
> >>   arch/mips/bcm47xx/sprom.c      |    2 -
> >>   drivers/bcma/core.c            |    1 +
> >>   drivers/bcma/driver_pci_host.c |   10 +++---
> >>   drivers/bcma/host_pci.c        |    4 +-
> >>   drivers/bcma/scan.c            |   54 +++++++++++++++++++++++++++++----------
> >>   6 files changed, 52 insertions(+), 23 deletions(-)
> >>
> >
> > None of these patches have any description. Some motivation for the
> > changes would be appreciated like 'reported problem', 'new target
> > support', etc.
> 
> I would say that it's required. Anyone can see the diff and see what was
> changed, but nobody will figure out why the change was made unless it's
> described in the commit log. So it's important to answer the question
> "Why?".

Will we be seeing this patchset reposted with better changelogs?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
  2012-05-02 18:11     ` John W. Linville
@ 2012-05-02 18:53       ` Arend van Spriel
  2012-05-03  5:04         ` Nathan Hintz
  0 siblings, 1 reply; 7+ messages in thread
From: Arend van Spriel @ 2012-05-02 18:53 UTC (permalink / raw)
  To: John W. Linville; +Cc: Kalle Valo, Nathan Hintz, linux-wireless, hauke

On 05/02/2012 08:11 PM, John W. Linville wrote:
> On Thu, Apr 26, 2012 at 02:50:54PM +0300, Kalle Valo wrote:
>> "Arend van Spriel" <arend@broadcom.com> writes:
>>
>>> On 04/26/2012 06:23 AM, Nathan Hintz wrote:
>>>> Nathan Hintz (6):
>>>>    bcma: Find names of non BCM cores
>>>>    bcma: Move initialization of SPROM to prevent overwrite
>>>>    bcma: Account for variable PCI memory base/size
>>>>    bcma: reads/writes are always 4 bytes, so always map 4 bytes
>>>>    bcma: Add __devexit to bcma_host_pci_remove
>>>>    bcma: Add flush for BCMA_RESET_CTL write
>>>>
>>>>   arch/mips/bcm47xx/setup.c      |    4 +++
>>>>   arch/mips/bcm47xx/sprom.c      |    2 -
>>>>   drivers/bcma/core.c            |    1 +
>>>>   drivers/bcma/driver_pci_host.c |   10 +++---
>>>>   drivers/bcma/host_pci.c        |    4 +-
>>>>   drivers/bcma/scan.c            |   54 +++++++++++++++++++++++++++++----------
>>>>   6 files changed, 52 insertions(+), 23 deletions(-)
>>>>
>>>
>>> None of these patches have any description. Some motivation for the
>>> changes would be appreciated like 'reported problem', 'new target
>>> support', etc.
>>
>> I would say that it's required. Anyone can see the diff and see what was
>> changed, but nobody will figure out why the change was made unless it's
>> described in the commit log. So it's important to answer the question
>> "Why?".
> 
> Will we be seeing this patchset reposted with better changelogs?
> 
> John

Although not strongly stated by me I was certainly expecting a re-post.

Gr. AvS


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
  2012-05-02 18:53       ` Arend van Spriel
@ 2012-05-03  5:04         ` Nathan Hintz
  2012-05-03  6:11           ` Arend van Spriel
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Hintz @ 2012-05-03  5:04 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: John W. Linville, Kalle Valo, linux-wireless, hauke

Hi:
On Wed, 2012-05-02 at 20:53 +0200, Arend van Spriel wrote:
> On 05/02/2012 08:11 PM, John W. Linville wrote:
> > On Thu, Apr 26, 2012 at 02:50:54PM +0300, Kalle Valo wrote:
> >> "Arend van Spriel" <arend@broadcom.com> writes:
> >>
> >>> On 04/26/2012 06:23 AM, Nathan Hintz wrote:
> >>>> Nathan Hintz (6):
> >>>>    bcma: Find names of non BCM cores
> >>>>    bcma: Move initialization of SPROM to prevent overwrite
> >>>>    bcma: Account for variable PCI memory base/size
> >>>>    bcma: reads/writes are always 4 bytes, so always map 4 bytes
> >>>>    bcma: Add __devexit to bcma_host_pci_remove
> >>>>    bcma: Add flush for BCMA_RESET_CTL write
> >>>>
> >>>>   arch/mips/bcm47xx/setup.c      |    4 +++
> >>>>   arch/mips/bcm47xx/sprom.c      |    2 -
> >>>>   drivers/bcma/core.c            |    1 +
> >>>>   drivers/bcma/driver_pci_host.c |   10 +++---
> >>>>   drivers/bcma/host_pci.c        |    4 +-
> >>>>   drivers/bcma/scan.c            |   54 +++++++++++++++++++++++++++++----------
> >>>>   6 files changed, 52 insertions(+), 23 deletions(-)
> >>>>
> >>>
> >>> None of these patches have any description. Some motivation for the
> >>> changes would be appreciated like 'reported problem', 'new target
> >>> support', etc.
> >>
> >> I would say that it's required. Anyone can see the diff and see what was
> >> changed, but nobody will figure out why the change was made unless it's
> >> described in the commit log. So it's important to answer the question
> >> "Why?".
> > 
> > Will we be seeing this patchset reposted with better changelogs?
> > 
> > John
> 
> Although not strongly stated by me I was certainly expecting a re-post.
> 
> Gr. AvS
> 
> 
I will repost; it will probably be a few days though.  I haven't used
GIT before other than cloning some repo's, so I have a learning curve to
overcome.

Any hints are welcome.

Thanks,
Nathan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT
  2012-05-03  5:04         ` Nathan Hintz
@ 2012-05-03  6:11           ` Arend van Spriel
  0 siblings, 0 replies; 7+ messages in thread
From: Arend van Spriel @ 2012-05-03  6:11 UTC (permalink / raw)
  To: Nathan Hintz; +Cc: John W. Linville, Kalle Valo, linux-wireless, hauke

On 05/03/2012 07:04 AM, Nathan Hintz wrote:
> I will repost; it will probably be a few days though.  I haven't used
> GIT before other than cloning some repo's, so I have a learning curve to
> overcome.
> 
> Any hints are welcome.
> 
> Thanks,
> Nathan

Adding a description to a change is not a git specific thing, but a scm
best-practice. To easily add a description to each of your patches is by
doing an interactive rebase (details in [1]).

$ git rebase -i HEAD~6
* this will pop-up your favorite editor
* each line starts with word 'pick'
* replace it with letter 'r'
* close the editor

git will open the editor for each change and let you enter a
description. After that you can recreate your patches.

$ git format-patch --subject-prefix="PATCH v3" --cover-letter -s -M -6

I always give the -M to catch renames and -s to add signed-off-by.

Hope this helps.

Gr. AvS

[1] http://book.git-scm.com/4_interactive_rebasing.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-03  6:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26  4:23 [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT Nathan Hintz
2012-04-26  8:56 ` Arend van Spriel
2012-04-26 11:50   ` Kalle Valo
2012-05-02 18:11     ` John W. Linville
2012-05-02 18:53       ` Arend van Spriel
2012-05-03  5:04         ` Nathan Hintz
2012-05-03  6:11           ` Arend van Spriel

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).