Re: [PATCH 4/5] powerpc/zImage: Rework serial driver probing

2018-03-20 Thread Oliver
On Tue, Mar 20, 2018 at 8:20 PM, Michael Ellerman wrote: > Oliver O'Halloran writes: > >> Rather than checking the compatible string in serial_driver_init() >> we call into the driver's init function and wait for a driver to >> inidicate it bound to the

Re: [PATCH 4/5] powerpc/zImage: Rework serial driver probing

2018-03-20 Thread Michael Ellerman
Oliver O'Halloran writes: > Rather than checking the compatible string in serial_driver_init() > we call into the driver's init function and wait for a driver to > inidicate it bound to the device by returning zero. > > The pointers to each driver probe functions are stored in

Re: [PATCH 4/5] powerpc/zImage: Rework serial driver probing

2018-03-20 Thread kbuild test robot
Hi Oliver, Thank you for the patch! Yet something to improve: [auto build test ERROR on v4.16-rc4] [also build test ERROR on next-20180319] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 4/5] powerpc/zImage: Rework serial driver probing

2018-03-20 Thread kbuild test robot
Hi Oliver, Thank you for the patch! Yet something to improve: [auto build test ERROR on v4.16-rc4] [also build test ERROR on next-20180319] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 4/5] powerpc/zImage: Rework serial driver probing

2018-03-18 Thread Oliver O'Halloran
Rather than checking the compatible string in serial_driver_init() we call into the driver's init function and wait for a driver to inidicate it bound to the device by returning zero. The pointers to each driver probe functions are stored in the ".serialdrv" section of the zImage, similar to how