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] [thread-next>] [day] [month] [year] [list]
Message-ID: <4b3a93c9ab2432f8ae0e9282d9e00d2a.mripard@kernel.org>
Date:   Mon, 04 Sep 2023 07:55:37 +0000
From:   "Maxime Ripard" <mripard@...nel.org>
To:     "Douglas Anderson" <dianders@...omium.org>
Cc:     airlied@...il.com, daniel@...ll.ch,
        dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
        maarten.lankhorst@...ux.intel.com, tzimmermann@...e.de,
        "Maxime Ripard" <mripard@...nel.org>
Subject: Re: [RFT PATCH 1/6] drm/atomic-helper:
 drm_atomic_helper_shutdown(NULL) should be a noop

On Fri, 1 Sep 2023 16:39:52 -0700, Douglas Anderson wrote:
> As with other places in the Linux kernel--kfree(NULL) being the most
> famous example--it's convenient to treat being passed a NULL argument
> as a noop in cleanup functions. Let's make
> drm_atomic_helper_shutdown() work like this.
> 
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard@...nel.org>

Thanks!
Maxime

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ