From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 369C5443E54; Fri, 2 Oct 2026 07:57:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790927832; cv=none; b=NCbkSmMUxkCPKzoC8GNEdJx/o2gf5QOGcrDZeoj8OO8XP58NCzJfScWa6fsc454NllDJRTvQjhmx2OWSYKrmA21NoXqtd4Zbmk28uTcvOKqCvASEc5dv5A4pyeojegfwc2s1y3nRbX/woVJlPKKo+rgAW1G0rRqfnk+AriD0gpc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790927832; c=relaxed/simple; bh=ZsucKRzo2JOGX6CiLW9zcJ7BuvS5GY7TcqIkPJgStD4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aU/LxLBJx/i34XFrLlw8PzDGCWut9cF+BRuCuEutUFc5p4VfAk0YZi0L3PQQXohgw3GPL16qTYu0rIbSWAsvlnDl2PnibpHYIkNBEmCiqR1fcSWh+9Y1whpEMmeSOZMts76SeUh907ztQVo7uqBcyoNjUVZUyY2kIO5reQPb1OM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WMztuGeM; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WMztuGeM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1790927830; x=1822463830; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZsucKRzo2JOGX6CiLW9zcJ7BuvS5GY7TcqIkPJgStD4=; b=WMztuGeMt5xZinsJH/xta1LxfINV78idZNaP84MYmlkoTGEkPl5kDjXx zV4qDOVC6NgFexSHMF2RB2V5Ua0sqvnO1cJpAuLqA1ONDHoPn5pGQ1awf JJh5CQ1ylDa6crfcbRBnXf0NOv6GPhFa7NbH/R2WBGNRMVPbDHWzctIaV 9eS22yrgZYurbOtBm0GzAycrNT17AhbRDEh0lY76hqgvLtTJEvsWh8tM+ dhMG7U082zp8eJct//l2LVpuTlZvVVsCBpgmFQUqVi+DW6aBHq9Oe2tgx fxVmxGnU6Jn4cHVJoKQCh+Icntn9Y7k4gVczVN7WDaIpF+zjkNZ142BqZ A==; X-CSE-ConnectionGUID: 6g2qpuL0TLuRFCecSL01IQ== X-CSE-MsgGUID: St6A/FzNShKMVurPZHj9aQ== X-IronPort-AV: E=McAfee;i="6800,10657,11922"; a="90460487" X-IronPort-AV: E=Sophos;i="6.27,136,1787036400"; d="scan'208";a="90460487" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2026 00:57:09 -0700 X-CSE-ConnectionGUID: H8G9kGd0QwuBL06wo47SJA== X-CSE-MsgGUID: BCUq98xbTG+b5ZiIkPdAVQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,136,1787036400"; d="scan'208";a="274287331" Received: from conormcd-mobl2.ger.corp.intel.com (HELO localhost) ([10.245.244.188]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2026 00:57:06 -0700 Date: Fri, 2 Oct 2026 10:57:04 +0300 From: Andy Shevchenko To: Rupesh Majhi Cc: Andy Shevchenko , Bill Wendling , David Lechner , Eddie James , Jonathan Cameron , Justin Stitt , Nathan Chancellor , Nick Desaulniers , Nuno =?iso-8859-1?Q?S=E1?= , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v11 5/5] iio: pressure: dps310: assert the lock at runtime too Message-ID: References: <20261002072526.250081-1-zoone.rupert@gmail.com> <20261002072526.250081-6-zoone.rupert@gmail.com> 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: <20261002072526.250081-6-zoone.rupert@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Fri, Oct 02, 2026 at 10:25:26AM +0300, Rupesh Majhi wrote: > __must_hold() is clang only and does nothing in GCC builds. Add > lockdep_assert_held() next to each, so lockdep catches a missing lock > too. Suggested-by? But we need to hear from Jonathan and others if they like these annotations in a mere IIO driver. -- With Best Regards, Andy Shevchenko