[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <HK2PR06MB05489E82057EE90D33010F63D8CC0@HK2PR06MB0548.apcprd06.prod.outlook.com>
Date: Tue, 27 Sep 2016 12:14:04 +0000
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>
CC: Felipe Balbi <balbi@...nel.org>,
Felipe Balbi <felipe.balbi@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Julia Lawall <Julia.Lawall@...6.fr>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>
Subject: RE: [PATCH v2 3/3] usb: renesas_usbhs: cleanup with
list_first_entry_or_null()
Hi Yamada-san,
> From: Masahiro Yamada
> Sent: Monday, September 19, 2016 1:03 AM
>
> The combo of list_empty() check and return list_first_entry()
> can be replaced with list_first_entry_or_null().
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
Thank you for the patch!
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
Best regards,
Yoshihiro Shimoda
Powered by blists - more mailing lists