Re: [PATCH] usb: gadget: move the global the_dev variable to their users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 08, 2012 at 07:24:13PM +0100, Sebastian Andrzej Siewior wrote:
> the u_ether.c file has a global variable named the_dev which keeps a
> pointer to the network device after it has been created via
> gether_setup_name(). It is only used internally by u_ether. This patches
> moves the variable to its users and passes it via the port.ioport where
> it is saved later anyway.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

care to refresh ?

patching file drivers/usb/gadget/cdc2.c
Hunk #1 succeeded at 106 with fuzz 2 (offset 3 lines).
Hunk #2 succeeded at 121 (offset -4 lines).
Hunk #3 succeeded at 153 (offset -13 lines).
Hunk #4 succeeded at 186 (offset -13 lines).
Hunk #5 succeeded at 193 with fuzz 2 (offset -14 lines).
patching file drivers/usb/gadget/ether.c
patching file drivers/usb/gadget/f_ecm.c
patching file drivers/usb/gadget/f_eem.c
patching file drivers/usb/gadget/f_ncm.c
Hunk #1 succeeded at 1287 (offset 4 lines).
Hunk #2 succeeded at 1322 (offset 4 lines).
patching file drivers/usb/gadget/f_rndis.c
patching file drivers/usb/gadget/f_subset.c
patching file drivers/usb/gadget/g_ffs.c
patching file drivers/usb/gadget/multi.c
Hunk #1 succeeded at 136 (offset 2 lines).
Hunk #2 succeeded at 151 (offset -5 lines).
Hunk #3 succeeded at 202 (offset -24 lines).
Hunk #4 succeeded at 256 (offset -36 lines).
Hunk #5 succeeded at 303 (offset -36 lines).
Hunk #6 succeeded at 310 with fuzz 2 (offset -42 lines).
patching file drivers/usb/gadget/ncm.c
patching file drivers/usb/gadget/nokia.c
Hunk #1 succeeded at 100 with fuzz 2 (offset 1 line).
Hunk #2 FAILED at 152.
Hunk #3 succeeded at 158 (offset -25 lines).
Hunk #4 succeeded at 193 (offset -25 lines).
Hunk #5 succeeded at 206 with fuzz 1 (offset -27 lines).
1 out of 5 hunks FAILED -- saving rejects to file drivers/usb/gadget/nokia.c.rej
patching file drivers/usb/gadget/u_ether.c
Hunk #1 succeeded at 50 (offset 1 line).
Hunk #2 succeeded at 728 (offset 1 line).
Hunk #3 succeeded at 755 (offset 1 line).
Hunk #4 succeeded at 801 (offset 1 line).
Hunk #5 succeeded at 813 (offset 1 line).
Hunk #6 succeeded at 822 (offset 1 line).
Hunk #7 succeeded at 850 (offset 1 line).
Hunk #8 succeeded at 885 (offset 1 line).
Hunk #9 succeeded at 978 (offset 1 line).
patching file drivers/usb/gadget/u_ether.h

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux