From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EEF7C83F33 for ; Mon, 4 Sep 2023 07:55:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352470AbjIDHzx (ORCPT ); Mon, 4 Sep 2023 03:55:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352476AbjIDHzu (ORCPT ); Mon, 4 Sep 2023 03:55:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61F7BF4 for ; Mon, 4 Sep 2023 00:55:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EC0F860BA3 for ; Mon, 4 Sep 2023 07:55:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05B78C433C7; Mon, 4 Sep 2023 07:55:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693814140; bh=r99VUSvLYNfxVQAyOBt/A1/Dqy46dDKhqil9QP9bhIQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=JMmNVPSfJnujgERMh7PJj6OISDlgJjTrqFGqR+Is4V5R0sYCgPpUX/YeujAy21UTK wV7ywSrSRqJAPXbBZnTvL9EQnbZKfEMxEopCVt8byaOx4NdlORG156/lbZok/x67X8 MQJbyaxAFKrt5QRwUKfVP/qbf6yQiO91nwbems5SvOUQTOmvcP56xfBAcQj+JzEmzW CNoZ6q9ZRJ34KaRRGXMFUuTjQjsbKFuGwmJ+goa2moc8Rjs07ydIbaOxB5eJlFRg4O I4uxTpWIcfZ9VXeuUdePN1tL/4xuXvixQHhlWNLUgJg6iwj9ixMY1DmAEEoQoTowLg TDz4klk967Y1A== Message-ID: <4b3a93c9ab2432f8ae0e9282d9e00d2a.mripard@kernel.org> Date: Mon, 04 Sep 2023 07:55:37 +0000 From: "Maxime Ripard" To: "Douglas Anderson" Subject: Re: [RFT PATCH 1/6] drm/atomic-helper: drm_atomic_helper_shutdown(NULL) should be a noop In-Reply-To: <20230901163944.RFT.1.I906acd535bece03b6671d97c2826c6f0444f4728@changeid> References: <20230901163944.RFT.1.I906acd535bece03b6671d97c2826c6f0444f4728@changeid> Cc: airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, "Maxime Ripard" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks! Maxime