From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760226AbcIMTRn (ORCPT ); Tue, 13 Sep 2016 15:17:43 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:35845 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755214AbcIMTRl (ORCPT ); Tue, 13 Sep 2016 15:17:41 -0400 Subject: Re: [PATCH] usb: cleanup with list_first_entry_or_null() To: Felipe Balbi , Masahiro Yamada , References: <1473702383-16081-1-git-send-email-yamada.masahiro@socionext.com> <8737l4l53r.fsf@linux.intel.com> CC: , Yoshihiro Shimoda , Julia Lawall , "Greg Kroah-Hartman" , John Youn From: John Youn Message-ID: Date: Tue, 13 Sep 2016 12:17:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <8737l4l53r.fsf@linux.intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.9.140.13] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/12/2016 10:52 PM, Felipe Balbi wrote: > > Hi Masahiro, > > Masahiro Yamada writes: >> 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 >> --- > > Care to split this into two patches (one for dwc2 and one for dwc3)? > > thanks > For the dwc2 portion, you can add my acked-by. Acked-by: John Youn John