Re: [PATCH 02/10] ppc: sam460ex: do not use usb_bus_find()

2024-02-26 Thread BALATON Zoltan
On Mon, 26 Feb 2024, Markus Armbruster wrote: Please ignore this one; I replied to the wrong patch by accident. Your comment is still valid for that patch so no need to ignore it. Regards, BALATON Zoltan

Re: [PATCH 02/10] ppc: sam460ex: do not use usb_bus_find()

2024-02-25 Thread Markus Armbruster
Paolo Bonzini writes: > usb_bus_find() is always used with argument -1; it can be replaced with > a search of the single USB bus on the machine. > > Suggested-by: Philippe Mathieu-Daudé > Signed-off-by: Paolo Bonzini > --- > hw/ppc/sam460ex.c | 6 -- > 1 file changed, 4 insertions(+), 2

Re: [PATCH 02/10] ppc: sam460ex: do not use usb_bus_find()

2024-02-25 Thread Markus Armbruster
Please ignore this one; I replied to the wrong patch by accident.

Re: [PATCH 02/10] ppc: sam460ex: do not use usb_bus_find()

2024-02-25 Thread Markus Armbruster
Paolo Bonzini writes: > Once the Kconfig for hw/mips is cleaned up, it will be possible to build a > binary that does not include any USB host controller and therefore that > does not include the code guarded by CONFIG_USB. While the simpler > creation functions such as usb_create_simple can be

Re: [PATCH 02/10] ppc: sam460ex: do not use usb_bus_find()

2024-02-25 Thread Thomas Huth
On 23/02/2024 13.43, Paolo Bonzini wrote: usb_bus_find() is always used with argument -1; it can be replaced with a search of the single USB bus on the machine. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- hw/ppc/sam460ex.c | 6 -- 1 file changed, 4

[PATCH 02/10] ppc: sam460ex: do not use usb_bus_find()

2024-02-23 Thread Paolo Bonzini
usb_bus_find() is always used with argument -1; it can be replaced with a search of the single USB bus on the machine. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- hw/ppc/sam460ex.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git