From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiHJK7y (ORCPT ); Wed, 10 Aug 2022 06:59:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : content-type : mime-version; s=corp-2022-7-12; bh=y1q+x4sxm3QeMzw6qmS4j95T0ZD8MloI7k1O+7p17j4=; b=iHCd33EahPq3WkZad8b7/6NbRxmXc1zyXC29Ci7XPD5KjUH9h819JsUDs+Rd/PK8oNcA hoU05ROVflQmwk4GpqjV7NAES5kc1eb0pWYsyfcZ11B+ziso7TyvrRxVjjQ7bmf5IaLU yRSHncsUICTeTBmtBv7+wQ7E1s+CS8ffl5A6llbIhi5OuqCb+8I2HKoC4juUPv9sOS1W 0YNcAh0+eINg8ij6QjAUAlrU8bb1WqiXxgi3UP+QK/KtVmYt7v3jxEvoQUnKw7ldRYPr acStSgR9ZoHY+cEwf8Kk5XQvs/sPYtkFSJjhYs471LV1F62X5oH1Wh5rqt4H36ij0iA6 zA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y1q+x4sxm3QeMzw6qmS4j95T0ZD8MloI7k1O+7p17j4=; b=kZJOM1pIjHbC2b/VpXMImWtS2b0TFK/vyN4QCQDLVHEw1HOZnC6FGEOvrOo9dY0A2fpTbX4EOAhOBpZ96pUyhzSRUwI8bYIycmkKWg9AykKuJ0kSDFen8KbI8+sAHHgrdi5xu7spE8rXbAhWpA01sYSqYEoHQxEfxj+rZJhuyoU= Date: Wed, 10 Aug 2022 13:59:26 +0300 From: Dan Carpenter Subject: Smatch v1.73 released Message-ID: <20220810105926.GS3460@kadam> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline MIME-Version: 1.0 List-ID: To: smatch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Elena Reshetova , Christophe JAILLET Smatch is a C static checker with a lot of kernel specific checks. You can download it from: http://repo.or.cz/w/smatch.git. Or if you prefer a github mirror, then you can download it from https://github.com/error27/smatch It's a simple process to run Smatch on a file in the kernel: yum install gcc make sqlite3 sqlite-devel sqlite perl-DBD-SQLite openssl-devel perl-Try-Tiny make cd ~/path/to/kernel_dir ~/smatch_dir/smatch_scripts/kchecker drivers/whatever/file.c Overall, this release is mostly small fixes all over. The main improvement is better tracking changes to container_of(). For example, there are a lot of kernel release functions which free the container_of(). The next step is to figure out the correct free function to call for put_device(). Special thanks to Elena Reshetova who wrote a new module to track host/VMM data for confidential computing. And also to thanks to Christophe JAILLET for a bunch of fixes and updates. Please test and let me know if you find any issues! regards, dan carpenter