Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1485849

[PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()
Date Sun, 18 Sep 2016 18:10:01 +0200
Message-ID <siMPf-1Ng-3@gated-at.bofh.it> (permalink)
Dkim-Filter OpenDKIM Filter v2.10.3 conuserg-10.nifty.com u8IG3LfW028491
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1474214606; bh=Irfz6ZBQULXlGChdyDXv4OLPoW7ogkfyD3mYnN52v7w=; h=From:To:Cc:Subject:Date:From; b=qKIYUSSQzZJYSUIBDojLTlp5X+h7A8x4PHOt7y16N0lpPa+tOi3CVEgKvFF1wVkf7 wi4lNnTDzJ2ks0+5SGJsOO+GQb0zwuyFFuHRp59xgpaPOmKawoWSyKiptvyehcvOIf GqSin0c9v8uE3Bt4iEdb+/GbrHTkN3vlO/LncavS1otNg2a0RFR5ylHGr7JM5kGrXH ncPIHZB5P0nhtIPgU/VRHTXAPBPnxRAxV2PbusZOwY8lcUQ8VUIHzj9S2lv8K+YKqK 7T35MV4/MtQM3aWCBFfqUZe2NcIAFePluA6evRivmdN9b1BLaWxfcXBDgj9dnDIzWq ImKlf2tDSbjLQ==
X-Nifty-Srcip [111.169.71.157]
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
X-Original-Cc Felipe Balbi <balbi@kernel.org>, Masahiro Yamada <yamada.masahiro@socionext.com>, Felipe Balbi <felipe.balbi@linux.intel.com>, linux-kernel@vger.kernel.org, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>, Julia Lawall <Julia.Lawall@lip6.fr>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, John Youn <johnyoun@synopsys.com>
X-Original-Date Mon, 19 Sep 2016 01:03:12 +0900
X-Original-Message-ID <1474214595-9349-1-git-send-email-yamada.masahiro@socionext.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1485849

Show key headers only | View raw


Replace the chain of list_empty() and list_first_entry()
with list_first_entry_or_null().

Changes in v2:
 - Split into per-driver patches


Masahiro Yamada (3):
  usb: dwc2: cleanup with list_first_entry_or_null()
  usb: dwc3: cleanup with list_first_entry_or_null()
  usb: renesas_usbhs: cleanup with list_first_entry_or_null()

 drivers/usb/dwc2/gadget.c        | 6 ++----
 drivers/usb/dwc3/gadget.h        | 5 +----
 drivers/usb/renesas_usbhs/fifo.c | 5 +----
 3 files changed, 4 insertions(+), 12 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null() Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-18 18:10 +0200
  [PATCH v2 3/3] usb: renesas_usbhs: cleanup with list_first_entry_or_null() Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-18 18:10 +0200
  [PATCH v2 1/3] usb: dwc2: cleanup with list_first_entry_or_null() Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-09-18 18:10 +0200

csiph-web