Re: [PATCH] usbnet: ipheth: fix potential null pointer dereference in ipheth_carrier_set

2017-11-18 Thread David Miller
From: "Gustavo A. R. Silva" Date: Fri, 17 Nov 2017 14:02:09 -0600 > _dev_ is being dereferenced before it is null checked, hence there > is a potential null pointer dereference. > > Fix this by moving the pointer dereference after _dev_ has been null > checked. > >

Re: [PATCH] ARM: dts: bcm283x: Fix fifo size for EP 6,7

2017-11-18 Thread Stefan Wahren
Hi Minas, > Minas Harutyunyan hat am 17. November 2017 > um 08:48 geschrieben: > > > On 11/17/2017 2:35 AM, Stefan Wahren wrote: > > Hi Eric, > > > >> Stefan Wahren hat am 31. Oktober 2017 um 09:43 > >> geschrieben: > >> > >> > >> Hi

Re: [RFC] Add support for Sony PS2 OHCI

2017-11-18 Thread Alan Stern
On Sat, 18 Nov 2017, Fredrik Noring wrote: > Hello USB maintainers, > > I'm porting kernel support for the Sony PlayStation 2 from v2.6.35 to v4.14, > and a part of this effort is to port the PS2 OHCI driver. USB keyboards seem > to work quite well with v4.14, but USB mass storage devices cause

Re: Seagate External SMR drive USB resets (XHCI transfer error, not timeout)

2017-11-18 Thread Alan Stern
On Fri, 17 Nov 2017, Jérôme Carretero wrote: > > Here's the error: > > > > b5251480 0.505661 S Bo:6:008:2 -115 196608 = 540a2813 1a33dd99 > > ab76840c bf72fc6b 60f9fcaf 4d61822c c007ff4e ab72d022 b5251480 > > 0.506280 C Bo:6:008:2 -71 86016 > > > Out of curiosity, which tool produced this

Re: Enabling PIO_ONLY (i.e. Disabling DMA in USB) for arm based ASIC

2017-11-18 Thread dev jad
Hi Bin, Thanks for reply. It really helped. I got it working and I would like to share my solution just in case some one faces similar issue. When I traced the function usb_hcd_map_urb_for_dma it checks first for CONFIG_HAS_DMA fla set and uses_dma so when this if condition passes it goes to

[RFC] Add support for Sony PS2 OHCI

2017-11-18 Thread Fredrik Noring
Hello USB maintainers, I'm porting kernel support for the Sony PlayStation 2 from v2.6.35 to v4.14, and a part of this effort is to port the PS2 OHCI driver. USB keyboards seem to work quite well with v4.14, but USB mass storage devices cause kernel crashes. Any help in finding the cause of this

Re: question about usb_rebind_intf

2017-11-18 Thread Greg Kroah-Hartman
On Fri, Nov 17, 2017 at 01:21:28PM -0500, Alan Stern wrote: > On Fri, 17 Nov 2017, Mathias Nyman wrote: > > > On 17.11.2017 19:09, Greg Kroah-Hartman wrote: > > > On Fri, Nov 17, 2017 at 09:35:51AM -0700, Jerry Snitselaar wrote: > > >> Should this skip warning that the rebind failed if