[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e48188b6-111f-45c0-a6a2-ce1bc1411878@ideasonboard.com>
Date: Tue, 13 Jan 2026 14:12:06 +0000
From: Dan Scally <dan.scally@...asonboard.com>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>,
Jacopo Mondi <jacopo.mondi@...asonboard.com>
Cc: "jempty.liang" <imntjempty@....com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>, mchehab@...nel.org,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: mali-c55: Fix NULL dev stream alert for tpg
sub-device
On 13/01/2026 10:40, Sakari Ailus wrote:
> Hi Jacopo,
>
> On Tue, Jan 13, 2026 at 09:55:10AM +0100, Jacopo Mondi wrote:
>> I wonder if v4l2_device_register_subdev() shouldn't WARN or if return
>> an error if sd->dev is not initialized. Laurent, Sakari: opinions ?
>
> I might even return an error but I wonder what would break. Perhaps indeed
> could start with a warning?
>
It looks like it's only used for dev_*() printks, unless I'm missing something. Thanks Jempty for
spotting the problem!
Dan
Powered by blists - more mailing lists