lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87wpieolws.fsf@eliezer.anholt.net>
Date:   Wed, 14 Sep 2016 10:44:51 +0100
From:   Eric Anholt <eric@...olt.net>
To:     Masahiro Yamada <yamada.masahiro@...ionext.com>,
        David Airlie <airlied@...ux.ie>,
        "open list\:DRM DRIVERS" <dri-devel@...ts.freedesktop.org>
Cc:     Masahiro Yamada <yamada.masahiro@...ionext.com>,
        dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/vc4: cleanup with list_first_entry_or_null()

Masahiro Yamada <yamada.masahiro@...ionext.com> 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 <yamada.masahiro@...ionext.com>

That's a nice little cleanup.  Applied to -next.  Thanks!

Download attachment "signature.asc" of type "application/pgp-signature" (801 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ