linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the akpm tree with the usb-gadget tree
@ 2013-03-19  3:39 Stephen Rothwell
  2013-03-19  6:33 ` Felipe Balbi
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2013-03-19  3:39 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-next, linux-kernel, Xi Wang, Felipe Balbi

[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

Hi Andrew,

Today's linux-next merge of the akpm tree got a conflict in
drivers/usb/gadget/amd5536udc.c between commit 6c39d90393a2 ("usb:
gadget: amd5536udc: remove unnecessary initializations") from the  tree
and commit "drivers/usb/gadget/amd5536udc.c: avoid calling dma_pool_create()
with NULL dev" from the akpm tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc drivers/usb/gadget/amd5536udc.c
index f52dcfe,142616a..0000000
--- a/drivers/usb/gadget/amd5536udc.c
+++ b/drivers/usb/gadget/amd5536udc.c
@@@ -3232,6 -3235,12 +3232,10 @@@ static int udc_pci_probe
  	pci_set_master(pdev);
  	pci_try_set_mwi(pdev);
  
+ 	dev->phys_addr = resource;
+ 	dev->irq = pdev->irq;
+ 	dev->pdev = pdev;
 -	dev->gadget.dev.parent = &pdev->dev;
 -	dev->gadget.dev.dma_mask = pdev->dev.dma_mask;
+ 
  	/* init dma pools */
  	if (use_dma) {
  		retval = init_dma_pools(dev);

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: manual merge of the akpm tree with the usb-gadget tree
  2013-03-19  3:39 linux-next: manual merge of the akpm tree with the usb-gadget tree Stephen Rothwell
@ 2013-03-19  6:33 ` Felipe Balbi
  2013-03-19  7:39   ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Felipe Balbi @ 2013-03-19  6:33 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Andrew Morton, linux-next, linux-kernel, Xi Wang, Felipe Balbi

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

Hi,

On Tue, Mar 19, 2013 at 02:39:22PM +1100, Stephen Rothwell wrote:
> Hi Andrew,
> 
> Today's linux-next merge of the akpm tree got a conflict in
> drivers/usb/gadget/amd5536udc.c between commit 6c39d90393a2 ("usb:
> gadget: amd5536udc: remove unnecessary initializations") from the  tree

Looks like there's a small bug in your scripts: "from the  tree" misses
"usb-gadget".

> and commit "drivers/usb/gadget/amd5536udc.c: avoid calling dma_pool_create()
> with NULL dev" from the akpm tree.
> 
> I fixed it up (see below) and can carry the fix as necessary (no action
> is required).
> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
> 
> diff --cc drivers/usb/gadget/amd5536udc.c
> index f52dcfe,142616a..0000000
> --- a/drivers/usb/gadget/amd5536udc.c
> +++ b/drivers/usb/gadget/amd5536udc.c
> @@@ -3232,6 -3235,12 +3232,10 @@@ static int udc_pci_probe
>   	pci_set_master(pdev);
>   	pci_try_set_mwi(pdev);
>   
> + 	dev->phys_addr = resource;
> + 	dev->irq = pdev->irq;
> + 	dev->pdev = pdev;
>  -	dev->gadget.dev.parent = &pdev->dev;
>  -	dev->gadget.dev.dma_mask = pdev->dev.dma_mask;
> + 

fix looks alright, thank you

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: manual merge of the akpm tree with the usb-gadget tree
  2013-03-19  6:33 ` Felipe Balbi
@ 2013-03-19  7:39   ` Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2013-03-19  7:39 UTC (permalink / raw)
  To: balbi; +Cc: Andrew Morton, linux-next, linux-kernel, Xi Wang

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

Hi Felipe,

On Tue, 19 Mar 2013 08:33:34 +0200 Felipe Balbi <balbi@ti.com> wrote:
>
> On Tue, Mar 19, 2013 at 02:39:22PM +1100, Stephen Rothwell wrote:
> > 
> > Today's linux-next merge of the akpm tree got a conflict in
> > drivers/usb/gadget/amd5536udc.c between commit 6c39d90393a2 ("usb:
> > gadget: amd5536udc: remove unnecessary initializations") from the  tree
> 
> Looks like there's a small bug in your scripts: "from the  tree" misses
> "usb-gadget".

Yeah, that's one of the bits I have to fill in manually and sometimes I
forget - at least this time I got the Subject right.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2013-03-19  7:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19  3:39 linux-next: manual merge of the akpm tree with the usb-gadget tree Stephen Rothwell
2013-03-19  6:33 ` Felipe Balbi
2013-03-19  7:39   ` Stephen Rothwell

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