From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 CF7753A4AA6 for ; Thu, 22 Jan 2026 08:38:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769071097; cv=none; b=aFHhrcn/ELn73qGNsXNn+15gxXKpC3TBE3iRkDy/15IR1xokQsW54udTPG53lhL8M4cq1xd1U+siVW4TTfmmjem4fzzz+y9JVTjenDUVybmUTRjR71C4kqkexSuSKE8FtYDQbWSGhXbMO3GflPiDYHarfrPPaH/YSTNgfHuBRz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769071097; c=relaxed/simple; bh=vma8fMHSbJhwawbXNhNxYtjpYoXViZ5O1+vluUOndms=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=aXLSdKTXY7Z2FNisqoAu1Csq05XOAzR5jYvHR8y8gid56Ab09nhG8B4Gvn+xFQ3RfL12047tp0+j7/mx3F89yXZ0paIU4h44Mwwhs9fJubVYvNWaYRdqsvb7j+v6iruMeC1Ucf3XaWNIzAuP7AsdHBSfGQPeT6MoOxLj9zEJINo= 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=TbjW7680; arc=none smtp.client-ip=209.85.128.49 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="TbjW7680" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4801c731d0aso5245465e9.1 for ; Thu, 22 Jan 2026 00:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769071093; x=1769675893; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=swtCWu0uD8hHidEKgQY0u7xBgX+L/OsjJbkppS4VvHU=; b=TbjW7680AjPUbKO3XE08uwWs4hQ5Y6CpJZ2CXshjV0BW4+S4+GHdDCCAs1hlszF/r7 DUv3q0CPu1i3JMU0Vw9f5AZxxu8jaeoPeLQyzQjb/5cFwCIb7zIoTTqgev9kz4zabLEd K7syqpexRPhvFIQ+aCNYkU6lLT49Pxe8myelu312q4TC9npYf0JlnLBJ1N4HBpA76X7Y hrQrYHYIhGRJo3SsBr1f+Keq2iUdOC+PMz+JRbI7RNY4K0XubHHv4j8ir9TUfK18DWn3 Q7cNjXNBgYaCfmqQi5cySQzBXUR6AFh2YLen4AlMS3cxjs8gHU422drw4XiArZmryTFB 4O8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769071093; x=1769675893; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=swtCWu0uD8hHidEKgQY0u7xBgX+L/OsjJbkppS4VvHU=; b=JzA83SNz/139uSr6tue9744GB3Mtna+M+cC2knGwGTDhgrh55lygL60cVpKxROJf6v 8jqSe8u5jI54K8dL/WEtR04iZ4OfiYaBQaDyqivc7WA/sPYnNxmpW+cDNGO/kS74woOs /pm83AvtoogaMuRsvooq/dderc7EoPYk9Wwg74R308krZGteEmFl9DcaBFvRWK+l9Ncv 6h+zl8Widw1li2zKNGZoC4TTm43hqjixh64u/4YFNnBAU9pqEWaNAo8rngoahucgrbiZ j67xE2UcVVe+6pf5O7EiX2wNtFvWaXnTQjSwiUrBThQWOxFOmL0iKZu+mA7XZutUOyr0 Fsng== X-Gm-Message-State: AOJu0Yx0Ma6KzJoGCIxk5fiDBNX5N01VHjMIOf+Y4BT6XqtvPWJHG60F dnSpDzjBUyuXe1tT1bcXrAhHAvMuUDG8PT5RTxZ4fXJ5InpUHD2m91qFCRETVqp1bxnZnMV9ETC PExCmgT6AjQ== X-Gm-Gg: AZuq6aKf/B0tLMxq3q8/ooi2Iz5khR9R9hVOeqEW2RboMwo7pYCqhVdbMlWD2LEOlEf soDLULfGnC3JQvAR9eRVOc/Ak/O8tec1szjHVPTgh4kxErWNgfjVD4KPk8zYAi0gqyj7Wo+p0OX FRrqHhZpx75QkVLNDJ4B5bB0bqHcInWgVQczREM/kKmI+b7CxcI1WLsVu1qtjrnraOvi+sMwLqb DahPu+ssmRE1bKpiHna3WdHjj4Pajt4I+K62ktoEMmtHeZLT+e/10j+BF0aaQkbpI4lU4fKfgPG Qs1YsrxJPX6WmNZRAMM4V4zAgyM/zrCggMJJ7O2B7I/iO5nDf8XfCdlEjYMgj/gmYwjWOJuqeQG 8liB/CGvGxq8BeK//hRVqYobO4HzRGQPIgiXpyl5pa1Cl6Ahf/PD+RAqO6yPTSJF3R8/VtxsZrc yEzl6JXbqSNZDkhoUT X-Received: by 2002:a05:600c:3e07:b0:480:3ad0:93bf with SMTP id 5b1f17b1804b1-4803ad094b1mr177382135e9.24.1769071093051; Thu, 22 Jan 2026 00:38:13 -0800 (PST) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48042c598b9sm45103495e9.18.2026.01.22.00.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jan 2026 00:38:12 -0800 (PST) Date: Thu, 22 Jan 2026 11:38:00 +0300 From: Dan Carpenter To: smatch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Philip Li , lkp@intel.com Subject: Smatch 1.74 released Message-ID: 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 A lot of people have been asking for a new release of Smatch because the v1.73 release was from 2022 and it complicates creating distro packages. There have been quite a few of improvements, but the main thing recently is that I've been turning off warnings by default so that the zero day bot can send emails without my filtering them. I haven't been sending Spectre v1 warnings for some time. These are places where we should add array_index_nospec(). It still an issue but I've never felt like I've understood the issue well enough to triage these. If anyone would like to help triage these warnigns I could probably improve the warning a lot. (Does anyone have contacts at Intel or AMD?) The other warning that I disabled was about uninitialized variables. This check is pretty good, but it requires cross function analysis and the zero day bot doesn't do that. For example, we often have loops: for (i = 0; i < parameter_limit; i++) { Without cross function analysis we have to consider that parameter_limit could be zero or even negative. The other things about uninitialized variables is that Clang does a pretty good job warning about these. The zero day bot has a false positive with regards to "iterator not incremented" warnings, but I've never been able to reproduce that despite trying really hard so I disabled that as well. I think most people use Smatch from git but if you're using a package then there are lots of improvements in here. $ git log --oneline 1.73..1.74 | wc -l 874 All good things. :) regards, dan carpenter