Re: [PATCH] serial: uartps: Fix uartps_major handling

Michal Simek
2019-10-04T13:04:51Z

On 04. 10. 19 14:52, Greg Kroah-Hartman wrote:
> On Fri, Sep 13, 2019 at 09:28:29AM +0200, Michal Simek wrote:
>> There are two parts which should be fixed. The first one is to assigned
>> uartps_major at the end of probe() to avoid complicated logic when
>> something fails.
>> The second part is initialized uartps_major number to 0 when last device is
>> removed. This will ensure that on next probe driver will ask for new
>> dynamic major number.
>>
>> Fixes: c9712e333809 ("serial: uartps: Use the same dynamic major number for all ports")
>
> This is not a valid sha1 in Linus's tree :(
>
> Please fix up and resend.

grr. It is sha1 from stable tree. Will resend.

Thanks,
Michal