[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2023101630-tiger-sizable-050f@gregkh>
Date: Mon, 16 Oct 2023 19:47:41 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Zhang Shurong <zhang_shurong@...mail.com>
Cc: heikki.krogerus@...ux.intel.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: typec: retimer: Check dev_set_name() return value
On Sat, Oct 14, 2023 at 05:24:53PM +0800, Zhang Shurong wrote:
> It's possible that dev_set_name() returns -ENOMEM.
> We fix this by catching the error and handling it.
>
> Fixes: ddaf8d96f93b ("usb: typec: Add support for retimers")
> Signed-off-by: Zhang Shurong <zhang_shurong@...mail.com>
> ---
> drivers/usb/typec/retimer.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
How was this found?
How was this tested?
Powered by blists - more mailing lists