Received: by 2002:a05:7208:b08c:b0:82:bbfa:f723 with SMTP id c12csp410662rbb; Fri, 26 Apr 2024 07:46:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFLiSQrhv/OG9Hd4Nh551ve7OVG9KqT/CWIuefSEvkx738GghF92QgqdgdwBPzW6o3RsXnfjpKt4mO0BnUA5a7d5zTX6BbFDY7/NblrQ== X-Google-Smtp-Source: AGHT+IEEVR2iQ2+PNECQiORwlxH7Wk7ndi5DoGbhARaP81sa5xMoK9SUKZKos548xOr45LtrG5hv X-Received: by 2002:a05:6830:c6:b0:6ed:659d:3697 with SMTP id x6-20020a05683000c600b006ed659d3697mr3260557oto.2.1714142796512; Fri, 26 Apr 2024 07:46:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714142796; cv=pass; d=google.com; s=arc-20160816; b=0LxFf3fa+EsL1y3a/XcjjJkB+btlEVWTtXMj+Z/7Z3OFM2PS2k+7zETZYr/VTq29xq X1ojtHewJ7HyqzBmQQwMce41VLgi+bKEDKjXfJdbIVYpmymNFJhXtNx/OqBA2pAbpGYY M0TE4q974FvxaJDiJS7Vvjg/huIlSIpEYxVK+YTgiQ3AE2vodpFAuykaV6IWuV6nHkHF uWWlbsyXmDeQAjxzMHfCRxfIEIFMjJ36IlpQjeejZwoswMm0TaRvCdwjaWiITRQOqsyB LjXgJjuaohKUDuWDFt/vLrllLAz2pcqjqmNN0fwyS0iXDwstB4K2iQvSFcdZR6ZGvxsr VngQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=vRIs5v95fmXoP8EqvGHUgENfpccqXF62NdIB09Vl6F4=; fh=miJKIgW2jKAS63nuAY+uHIEQkQIBVyGRhaaIqucaZRI=; b=BaEFvmCHxvaIKXR/VaMduMHry5nWX3z/omFmwTtuvrkPbtbfvML5qxz6bLP3ndnFm3 W2W8CXt+zVSaEOG8Ez1tamsHSFYrqjIQVFr1PfF2U37QfFzBPY7eDx+QHmMXXpmE9HsH 0JGR1cHK3Quqo6f8/c3qPdpetLIWSHRNk0oyBVN2UPhAvXU2HO6A3ZLMjB+58INeq6JE xumhV6ASV2fIh9X04JY/yIuNhXKng4CE6RVbiMZEYbJwW1od9NXljiakACDk8xjvpfXs bu2m5D5T077D5zebujwYPky4DQ8pkjrmKa0FUV5QiI/EkkV9fCMYXgj7ZOucm7RWVvRH e8sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XOzwoJxg; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f21-20020a05620a15b500b0078ee1fed4easi19598034qkk.543.2024.04.26.07.46.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 07:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XOzwoJxg; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2A9671C2449E for ; Fri, 26 Apr 2024 14:46:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 996FA148FF6; Fri, 26 Apr 2024 14:45:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XOzwoJxg" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EA2612C7FB; Fri, 26 Apr 2024 14:45:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714142756; cv=none; b=aig5X6MIXkzJoDGNUEXlYIgD/DSgthqFHQSg//JR3Dmn2CzvDStOYJNw7cEKNKJg8iqpflMkEogoNgIjFtWnO//xZPELHNroI3VDNDqtVtSVd/hWkJd22d9VYj/y7WMSu1yk4tSsdJTAVL271EIcCN5rSFdBMuWVN4IPGHxnq7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714142756; c=relaxed/simple; bh=4kHshSLluo35vKBkcvlnt2An+iSygvE7sAOsh4y5pxQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m1KZIF+K6FDBZmYMtR7/J1lALs2WqCeA2TBEmP9KjcDVA/KvDUNoC+AcJ43PZSAUzgbd/M8kWi3HjbEzgEPM3H7D6YPu0mdFm+x664Gd4H30HkZ3xXx17H7ThUoei1aPcdbMXhBc8iwbVAHnaQIGuoXTOemUIgmPGzyH9PuyP/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=XOzwoJxg; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714142755; x=1745678755; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4kHshSLluo35vKBkcvlnt2An+iSygvE7sAOsh4y5pxQ=; b=XOzwoJxggAcUrb64m5pXySeaOcMaJGE7KNGOm0BejCQ5hiREsXgifjSu VpcUclEB9Me/9n2vbPOS6SGnAx4go/rYuNd9nvnPujhboIrKI4POFVJgj icLvppem1HbAkOjYDho7EmeiAufhgaDB8l5VsH7/jg61n+D+y1UIAL6pC yC6h5PafYt1+7PMc+o6eKEGU0pREI94gKgF6Q+OslSCvonQhyDAOla5WX 1tUZDOboGR/MdOwTqvYdgHuAON0zC8y7qudhb/dOuzQ8Nm5tszOqPCQgF IML93imtXW/M6ucPTY0EMMevqREPCmJH/KNoR1vRY1OnRCKip5eer/SFx w==; X-CSE-ConnectionGUID: 8oDS4AMMSZCcaNui5d0lQw== X-CSE-MsgGUID: r3swzGasQpKnXxhgT14gNw== X-IronPort-AV: E=McAfee;i="6600,9927,11056"; a="12813850" X-IronPort-AV: E=Sophos;i="6.07,232,1708416000"; d="scan'208";a="12813850" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 07:45:54 -0700 X-CSE-ConnectionGUID: F5nX7GqTQGmqsppbDxe/5g== X-CSE-MsgGUID: R312I55TTYOS8yoBb1jLiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,232,1708416000"; d="scan'208";a="62916669" Received: from smile.fi.intel.com ([10.237.72.54]) by orviesa001.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 07:45:53 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1s0Mph-00000001LiQ-3SGP; Fri, 26 Apr 2024 17:45:49 +0300 Date: Fri, 26 Apr 2024 17:45:49 +0300 From: Andy Shevchenko To: Dan Carpenter Cc: lumingyindetect@126.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, ilpo.jarvinen@linux.intel.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, LuMingYin <11570291+yin-luming@user.noreply.gitee.com> Subject: Re: [PATCH] serial: 8250_lpss: Fix memory leak in lpss8250_probe() Message-ID: References: <20240426114716.1275085-1-lumingyindetect@126.com> <87d376e4-84f1-48c3-8c5d-955f706f3bfb@moroto.mountain> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d376e4-84f1-48c3-8c5d-955f706f3bfb@moroto.mountain> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Fri, Apr 26, 2024 at 04:53:18PM +0300, Dan Carpenter wrote: > > Fixes: e88c4cfcb7b888ac374916806f86c17d8ecaeb67 > > This is the wrong hash and the format is wrong. It should be: > > Fixes: 254cc7743e84 ("serial: 8250_lpss: Switch over to MSI interrupts") Since you are here, just pay attention that this does NOT fix anything as it uses pcim_enable_device(). I hope smatch won't stumble over this and produce false positives. -- With Best Regards, Andy Shevchenko