Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp215236pxb; Mon, 7 Feb 2022 09:34:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS4+Z80l9zqajUQZgBpkSBUxi1knwYyA/cGz5jWnppIl17S7ChOdG2RZ0o8nJONzFbqk+n X-Received: by 2002:a63:4e58:: with SMTP id o24mr381579pgl.374.1644255283369; Mon, 07 Feb 2022 09:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644255283; cv=none; d=google.com; s=arc-20160816; b=yGmAI1OnTwAfzhXvb2QiYVWQ26pUFtXFRhZbpvC3h0s4z/YqBJaUlTA1OaVkSQwCSM cDrt9S2nd0MV8X+Le/ZbLxewDJ7gYDyAwOcFXhkmOdMpJNhPlXFnr0Z6GoyoLugtx6Mm tKi/7sC/R475CHhyYSM9sTk5NB1g3xD9GpM5hci+1TmPn3wsikfUJP/579Tfh+HQJx2x YzIkHZSul+TFO86aoP5ags0Ae5I75uuzjlR88zij7Z6+jrvBYPQh32t9n9RliD6YG1eZ 6/2k1BXQ6UzeMm+yi2w/FGzJ4nhc4kN2LrEV8STzO71YCdvmM2YCMuilOghq4cEy75Or DOag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=bApKVTHUqfrYRQQdnOQu6/j5szt41ICUT3rRx8SlIFk=; b=akNpte8wLdTj2LzOHANbQwgT/+SsH3etCDbkZaV3QjbQURVi/THxS4Q1x8V9+dokNG /HZtat6xTBszCvr88vqJmlDBLtqjznuTe7E9xHYX5GFXDkaHfupjeVte91N/uS1S5SUe m87zs/LozErOoIkhUIRjqUef99pt80VUTx0VJkRDsR21q83n76/Ktgi1YzNPaDB8vp/6 DkbdhlB0dwaH1JQRodyYuNJsCYMEEreFXK9Gnbs68wYP0D86tCC+2AA1CKQr/Uwme8ln du8/SSptAg4hZq/X+OWm1UYK68Q2emLgf+N/MWIvfgUHRvc/v2dQaI4klkZUZGNfL3HI h/4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd9si9853369plb.486.2022.02.07.09.34.31; Mon, 07 Feb 2022 09:34:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381265AbiBEXL7 (ORCPT + 99 others); Sat, 5 Feb 2022 18:11:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235098AbiBEXL6 (ORCPT ); Sat, 5 Feb 2022 18:11:58 -0500 Received: from mx1.smtp.larsendata.com (mx1.smtp.larsendata.com [91.221.196.215]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15F41C061348 for ; Sat, 5 Feb 2022 15:11:57 -0800 (PST) Received: from mail01.mxhotel.dk (mail01.mxhotel.dk [91.221.196.236]) by mx1.smtp.larsendata.com (Halon) with ESMTPS id 97c9b91f-85f4-11ec-b20b-0050568c148b; Fri, 04 Feb 2022 19:56:50 +0000 (UTC) Received: from ravnborg.org (80-162-45-141-cable.dk.customer.tdc.net [80.162.45.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sam@ravnborg.org) by mail01.mxhotel.dk (Postfix) with ESMTPSA id ED940194B91; Fri, 4 Feb 2022 20:55:49 +0100 (CET) Date: Fri, 4 Feb 2022 20:55:47 +0100 X-Report-Abuse-To: abuse@mxhotel.dk From: Sam Ravnborg To: Daniel Vetter Cc: DRI Development , linux-fbdev@vger.kernel.org, Du Cheng , Tetsuo Handa , Intel Graphics Development , LKML , Claudio Suarez , Greg Kroah-Hartman , Daniel Vetter Subject: Re: [PATCH 17/21] fbcon: Move more code into fbcon_release Message-ID: References: <20220131210552.482606-1-daniel.vetter@ffwll.ch> <20220131210552.482606-18-daniel.vetter@ffwll.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220131210552.482606-18-daniel.vetter@ffwll.ch> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 31, 2022 at 10:05:48PM +0100, Daniel Vetter wrote: > con2fb_release_oldinfo() has a bunch more kfree() calls than > fbcon_exit(), but since kfree() on NULL is harmless doing that in both > places should be ok. This is also a bit more symmetric now again with > fbcon_open also allocating the fbcon_ops structure. > > Signed-off-by: Daniel Vetter > Cc: Daniel Vetter > Cc: Tetsuo Handa > Cc: Greg Kroah-Hartman > Cc: Du Cheng > Cc: Claudio Suarez Thanks, like I wrote earlier this makes sense. Acked-by: Sam Ravnborg