[PATCH v3] tty: serial: ma35d1: Add a NULL check for of_node
Greg KH
gregkh at linuxfoundation.org
Mon Jun 24 21:42:08 PDT 2024
On Tue, Jun 25, 2024 at 03:29:19AM +0000, Jacky Huang wrote:
> From: Jacky Huang <ychuang3 at nuvoton.com>
>
> 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
More information about the linux-arm-kernel
mailing list