Linux USB
 help / color / mirror / Atom feed
* Your fix for most_usb.c::hdm_disconnect
@ 2025-01-22 13:44 Oliver Neukum
  2025-01-22 13:52 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Neukum @ 2025-01-22 13:44 UTC (permalink / raw)
  To: Camila Alvarez; +Cc: Greg Kroah-Hartman, USB list

Hi,

I am going through syzbot's list of open issues.
It look like like the issue you posted a patch for

https://lore.kernel.org/all/20240730035745.110637-1-cam.alvarez.i@gmail.com/T/

is still open. Can something be done? Has the patch been lost?
Is there a remaining issue?

	Regards
		Oliver


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

* Re: Your fix for most_usb.c::hdm_disconnect
  2025-01-22 13:44 Your fix for most_usb.c::hdm_disconnect Oliver Neukum
@ 2025-01-22 13:52 ` Greg Kroah-Hartman
  2025-01-22 13:59   ` Camila Alvarez Inostroza
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2025-01-22 13:52 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: Camila Alvarez, USB list

On Wed, Jan 22, 2025 at 02:44:59PM +0100, Oliver Neukum wrote:
> Hi,
> 
> I am going through syzbot's list of open issues.
> It look like like the issue you posted a patch for
> 
> https://lore.kernel.org/all/20240730035745.110637-1-cam.alvarez.i@gmail.com/T/
> 
> is still open. Can something be done? Has the patch been lost?
> Is there a remaining issue?

The subject line was totally wrong which is why it was probably ignored.

Also, are you sure it is right?  Grabbing a reference in a disconnect
function feels very wrong...

thanks,

greg k-h

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

* Re: Your fix for most_usb.c::hdm_disconnect
  2025-01-22 13:52 ` Greg Kroah-Hartman
@ 2025-01-22 13:59   ` Camila Alvarez Inostroza
  2025-01-22 14:18     ` Oliver Neukum
  0 siblings, 1 reply; 4+ messages in thread
From: Camila Alvarez Inostroza @ 2025-01-22 13:59 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Oliver Neukum, Camila Alvarez, USB list



On Wed, 22 Jan 2025, Greg Kroah-Hartman wrote:

> On Wed, Jan 22, 2025 at 02:44:59PM +0100, Oliver Neukum wrote:
>> Hi,
>>
>> I am going through syzbot's list of open issues.
>> It look like like the issue you posted a patch for
>>
>> https://lore.kernel.org/all/20240730035745.110637-1-cam.alvarez.i@gmail.com/T/
>>
>> is still open. Can something be done? Has the patch been lost?
>> Is there a remaining issue?
>
> The subject line was totally wrong which is why it was probably ignored.
>
> Also, are you sure it is right?  Grabbing a reference in a disconnect
> function feels very wrong...
>
Yes, I think so as well. I don't think my patch solves the issue at all.

thanks,
Camila
> thanks,
>
> greg k-h
>

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

* Re: Your fix for most_usb.c::hdm_disconnect
  2025-01-22 13:59   ` Camila Alvarez Inostroza
@ 2025-01-22 14:18     ` Oliver Neukum
  0 siblings, 0 replies; 4+ messages in thread
From: Oliver Neukum @ 2025-01-22 14:18 UTC (permalink / raw)
  To: Camila Alvarez Inostroza, Greg Kroah-Hartman; +Cc: Oliver Neukum, USB list

On 22.01.25 14:59, Camila Alvarez Inostroza wrote:
> 
> 
> On Wed, 22 Jan 2025, Greg Kroah-Hartman wrote:
> 
>> On Wed, Jan 22, 2025 at 02:44:59PM +0100, Oliver Neukum wrote:
>>> Hi,
>>>
>>> I am going through syzbot's list of open issues.
>>> It look like like the issue you posted a patch for
>>>
>>> https://lore.kernel.org/all/20240730035745.110637-1-cam.alvarez.i@gmail.com/T/
>>>
>>> is still open. Can something be done? Has the patch been lost?
>>> Is there a remaining issue?
>>
>> The subject line was totally wrong which is why it was probably ignored.
>>
>> Also, are you sure it is right?  Grabbing a reference in a disconnect
>> function feels very wrong...
>>
> Yes, I think so as well. I don't think my patch solves the issue at all.

Hi Camila,

thank you for the clarification. Frankly I don't understand the refcounting
logic in this drive. Let's add the author.

Hi Christian,

there is an open issue with the musb driver. May I ask with respect to disconect
handling where the get_device calls, which musb_disconnect() balances with put_device()
are?

	Regards
		Oliver


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

end of thread, other threads:[~2025-01-22 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 13:44 Your fix for most_usb.c::hdm_disconnect Oliver Neukum
2025-01-22 13:52 ` Greg Kroah-Hartman
2025-01-22 13:59   ` Camila Alvarez Inostroza
2025-01-22 14:18     ` Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox