Re: [PATCH v3] tty: serial: ma35d1: Add a NULL check for of_node
From: Greg KH
Date: Tue Jun 25 2024 - 00:42:18 EST
On Tue, Jun 25, 2024 at 03:29:19AM +0000, Jacky Huang wrote:
> From: Jacky Huang <ychuang3@xxxxxxxxxxx>
>
> The pdev->dev.of_node can be NULL if the "serial" node is absent.
> Add a NULL check to return an error in such cases.
>
> v3:
> - Added "Reported-by:" line.
> v2:
> - Added "Fixes" line.
As per the kernel documentation, these "v3:" information goes below the
--- line.
Please fix up and send a v4.
thanks,
greg k-h