From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A47DB137932 for ; Thu, 7 Aug 2025 15:36:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754580976; cv=none; b=CAq4d9iCoxGfEPhEcZd9qmwQ79epV5dd1tmOYYTZQILngBnguNlofGw+/paJYtwOUEtY1+3y4EZrATq5Jgxih+WN5C25PQnbYxzreQncDheb1Ro2nJJANydR4xIBtvy89PO0SwPEoGpFGLNNW3AjWynBM1h4ry/Cv7EFiC7LZLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754580976; c=relaxed/simple; bh=v4SegK1YkozLM/5t6e/P90upgy6A7svRDz/F1ls8Bns=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XBOxpPcMmpJO0yyKkAw0/1ccb0FAI6FSrsQnu21eegTkM5kkBzIT5T7M8Nn/fT8i5D0z7uvY6fyyREyYGqzUdGsUey+t21Dk1NSIOt0qdc0JEsqM3gN19sV5DMJ/1G74M3kadBbV9wt9wuaaV5E4wzLH4NN01re1NtbUy6MjIMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=BKRbSUUK; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BKRbSUUK" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-459e210bd2dso7873015e9.1 for ; Thu, 07 Aug 2025 08:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1754580973; x=1755185773; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QMOLSsFLAcYwBYitWCmib8GLJf3qTqTLYwkuuzCFAxY=; b=BKRbSUUKvg1w/69d+0wj7oJNmVf3NA/FSjalQFNUHAdNR9F8zJKbfyGWCLmzzxTzzW RVViBkPu6LzwmG4NBjTql3SJ4WG4CSLxUHw3tt37sgwKMrNDMRHgddpjYBUjIb2+149X WpYPFHel2Z0CnZuZ0wAq6Ee5UK1Z4J6tdgQRYYjxA1TTF3uGqUw8D4j1WewIZv4U8Zc8 DLz9xh7FPu3Rso74w+ysNqdIUvh5LlhuAkY9D4Hqt6p2K0TvJPcgQsRiEEoLf8kUhIEm hhxPrmjDQ9oFa55hgk3iC4Js/JBCEqw7kszu8cD6EDsjT6ipquYKdQTz9OomDhA5h+z6 aFVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754580973; x=1755185773; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QMOLSsFLAcYwBYitWCmib8GLJf3qTqTLYwkuuzCFAxY=; b=MGbtfdGSLHRSVeRdnwgLPhfgAUNIe0EENPz7pxnYoP7b5TaG/Xn8DznBMF99cCCo2+ U6D+9mWXLEANbU1e7BxMc2wyMyd6ogACmF3907DQjYvansQUm+S8yGrZqdoaPIYiFB7m xW94yW5wSLKVuCoqtMh9+6beg0nnkOT+trVjqXzlFvVpJzxfGeB0Id9nBHQsgB5SBq2L l1O7s+7GmHz5KGQYPpdYYIvw2waZHnNBfsgpqq/ROeZMdXfxeDo1XadiBAIdhU8E4mpD uP3sQENxfJvO6zd53c9dYN9Cmtqhn1kiREWzH3/py/sp5Wwrj+iJWAb+Xe6KSVPkMVsU h/Gw== X-Forwarded-Encrypted: i=1; AJvYcCXQgFzRG3n3/yXOlMekEezPos9rACehpPsHOC12ebgELtJqgNTEEDF+XDCr64RS8DV+Lk0atYwuzk5xLq8=@vger.kernel.org X-Gm-Message-State: AOJu0YzXkm+/QTrpJ8VlouoLj06e+m+zkcvpaWBoVQFQ/vgH64PZuPX/ fO9zVOaDlUWyyuzgDgvC9bPGzpUtvlRyiRI2kKGLhJReQI000COnEJ7KVk9dp2cn2iA= X-Gm-Gg: ASbGncvVtoIw3/CC+Vyrtk8Vm+pNf3RF+CF4ry+IHl43Nkwo3Q8CHvsid7/goaJYmKC eF53QBIOK1xeJJHUNd7MywVGaiqw51fkD7lyKC6mlqRbIUIMuPLWaCgMcnZ9xbbIMoDk9kJ0ORT CvXfNzcdC+egr0TdrhjeQD0hNwMgVDlb3fbuSxLHxrdQuauFZNY8mADeYLKCRwbutB5/ThwblsU Eby69pZS5tlFY6UwZ8chTUZuWrrlUhBlWP3/4F1A2f9kg61Z0vJ62Jzy+ZJytIgzNWfU0lRYAu0 M0kXHG2yp0kGI1iLE8Oc+l6XQcpApnS5DdNjHZwSyQn4GSNPkKX4ne37zX3qVWIRbSlYchePznB ZnQnFiNM46m4Eh+bs2JfcnB/7zqm8xyoNatxypMOlQLc= X-Google-Smtp-Source: AGHT+IHV8dMO7twajlNvibI4+8XJL+mV64WbbAe+U8htA2aWAwO31dkgRGRgQpqoiYGZNTZXl3VeXg== X-Received: by 2002:a05:600c:1e05:b0:458:bade:72c5 with SMTP id 5b1f17b1804b1-459ee08a8ecmr43575175e9.8.1754580972966; Thu, 07 Aug 2025 08:36:12 -0700 (PDT) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-459c58ececdsm113034325e9.1.2025.08.07.08.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Aug 2025 08:36:12 -0700 (PDT) Date: Thu, 7 Aug 2025 18:36:09 +0300 From: Dan Carpenter To: Stefan Metzmacher Cc: Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Bharath SM , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Namjae Jeon Subject: Re: Using smatch and sparse together (Re: [PATCH next] smb: client: Fix use after free in send_done()) Message-ID: <14c2bce9-ee3d-448c-8a01-542b5b0b9848@suswa.mountain> References: <87646c67-78b8-41c5-9b72-361cb3b733d1@suswa.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: On Thu, Aug 07, 2025 at 05:17:05PM +0200, Stefan Metzmacher wrote: > > > I'm typically doing a full kernel build a week after each rc. > > > My idea was to rebuild the whole db after doing that. > > > > Yeah. That's a good strategy. The data from the existing DB feeds > > into the new one when you rebuild the DB so don't delete the old > > DB at the start or anything. > > I mean I'm typically do a git clean -xdf . in order > to wipe everything in order to do a clean: > make -j33 bindeb-pkg > > So it would build a new DB, as I'm working based on > the new kernel I guess that's all I need or > are there other reasons to update the existing DB? You really want to keep the old smatch_db.sqlite DB file between rebuilds. Every time you rebuild the DB it adds more information to the call tree. Imagine a() passes a number to b() which passes it to c(). It takes two rebuilds for that information to be built out. regards, dan carpenter