Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14626776rwb; Mon, 28 Nov 2022 03:21:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf5GGiESPUjz4InWNDekW3nPHql36KdQBlyT18vtA4wmcNutP77mKXZfWEVJbKVum3L/Onyg X-Received: by 2002:a05:6402:1772:b0:46a:7f4d:efe5 with SMTP id da18-20020a056402177200b0046a7f4defe5mr20005727edb.304.1669634496281; Mon, 28 Nov 2022 03:21:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669634496; cv=none; d=google.com; s=arc-20160816; b=i1fPEsrPxaYx83lXWHqFSLR1YZ0JvJpq89T3Un2AK+QvHEXlcoKEXZNKxgoYAuCLKo 6JbVdUzOimbaDntsZ9F/yQPczY3USQH3DPiwzgSUBC+tY9VISOLmiNQci1tKe/vEAhBd 6xZQdaPR0KUPoyGBKgUjKgHrs+IZsDoMpI51jnbeT2ypLQy5IKelWy6m4Aay5yh3h0up 9VBd/wihKmaCgrcUyoO4DUZuDKrrdx5kY8sHyPX+LBdL4eBCJm0k+LVoY/hif4Yh0Y5x nAyvvUP4XNT0muY0u/APxwiWrbGoBRWgCTuYXCcxYIA2s1kyLnZppmA7s2viej7UV+81 kj1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=H2KWODT44N+7Epn0CInlm/buV7KP2FVsZ3m5WVA20pA=; b=01dGs+Tm/ZJvNsTJQRtiEdOg5lws3Pk5U3FnXUw44WsjBSMwhHnYjxdclbNf7wOrr3 nlKDrR34fZdjhCiKZjRiMP+6FwR06kKv/PTlmylUNVSjhhhv/IKDjqM0wG3QO7rY+fYP LyTDckcbyXBx4OAN8r9eWDrbDRdIasEKO0hoAGdGO+eYXLlZQolawmDz0j/ULjohFLG7 soBx0QPdXSEgUmdaf1lt3hnfU3aR1Ngh78h+BtzgkfTf0gvX3UwPRrEmc6ktIM+VYoq7 ujo/17TGxNzUckQOlGTpjtMhfp6lXnhjuDqk5Wte3vnJiKTFqUue1xvECt9Lod4N1Zqn +VlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hdLnH1Nm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a50eb02000000b00461cdda451dsi9510146edp.435.2022.11.28.03.21.16; Mon, 28 Nov 2022 03:21:36 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=hdLnH1Nm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230469AbiK1K7j (ORCPT + 85 others); Mon, 28 Nov 2022 05:59:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbiK1K7d (ORCPT ); Mon, 28 Nov 2022 05:59:33 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A99A312AEC for ; Mon, 28 Nov 2022 02:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669633172; x=1701169172; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4Z1bM9Tmjz6Bvo0a/hUeA6G3B1Xmf4XawJ+D22qwJPk=; b=hdLnH1NmjSc2uPjPNgw1NBVe0MwQPeOjjCeMUjCYNLHAMV6Aa9NuSF1s KhuJ+if/DD7o5KU0fTlts09KIqSOr5olu6U/hIIUYBb8XGGcn+AVYbL+E bUHthIFRCGArpMm+mnhp2bv+Q750jvSd+DkR//cwA/GXDM6UbYkJUvOgr kShVsQ+6KmeHEmDIS87lmUWP5JLxZ2GqofW1BcA9wa+3LECVCh4Nm4OxS viWsUapdzPgh4jRXbGZ7c4ibY5paa2Pd0TWr7wxyJ8kIo4YMFUD5EZhyZ DFdINnNdS3ilgZnXm7uEJ0fOvGYkjDPNjF1Z678hxYLtGKZuVlpPInO7T w==; X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="302382990" X-IronPort-AV: E=Sophos;i="5.96,200,1665471600"; d="scan'208";a="302382990" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2022 02:59:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="645451609" X-IronPort-AV: E=Sophos;i="5.96,200,1665471600"; d="scan'208";a="645451609" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga007.fm.intel.com with ESMTP; 28 Nov 2022 02:59:30 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1ozbrE-0015fW-2c; Mon, 28 Nov 2022 12:59:28 +0200 Date: Mon, 28 Nov 2022 12:59:28 +0200 From: Andy Shevchenko To: Jianglei Nie Cc: ojeda@kernel.org, geert+renesas@glider.be, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH v2] auxdisplay: hd44780: Fix potential memory leak in hd44780_remove() Message-ID: References: <20221128084421.8626-1-niejianglei2021@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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, Nov 28, 2022 at 12:45:39PM +0200, Andy Shevchenko wrote: > On Mon, Nov 28, 2022 at 04:44:21PM +0800, Jianglei Nie wrote: ... > Fixes: 718e05ed92ec ("auxdisplay: Introduce hd44780_common.[ch]") > > What you found has nothing to do with the issue. Issue has been introduced > later on. Side note (mostly for Miguel): That series by Lars was indeed problematic. And I see now that he didn't get the parameter to the charlcd_alloc(). Now we have problem that your patch solves and dangling parameter in the struct charlcd_priv. So, I will restore charlcd_alloc() before his series (after this patch has been applied, because of the backport needs) for a new kernel development cycle. -- With Best Regards, Andy Shevchenko