Re: [PATCH] media: nxp: isi: Check whether pad is non-NULL before access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 1, 2023 at 12:06 PM Marek Vasut <marex@xxxxxxx> wrote:

>         pad = media_pad_remote_pad_first(&xbar->pads[sink_pad]);
> -       sd = media_entity_to_v4l2_subdev(pad->entity);
> +       if (!pad) {
> +               dev_dbg(xbar->isi->dev,

Maybe dev_err() here instead?

Anyway:

Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux