Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796058246; b=k9WF28bb/GVf4doX7kYbguRdwa7HoP+W9fjotzpT0bEJY180pLVCJUlfol5eHPsZ+nSI BqEAxDJbJtI6TDJOWAzmF7eZVeNn6GAN+DX3TqtZSC0C0J0F408wi/58y4nuMQN1eAK6M toUr6qUfB0FlDG1aXbWJTDkD4uHzaViAuNra5mPfKwJlOjreT09uwadxZQS/rAP7RsyrI aN1VQFtb5/TZ/zUbqdM43uyvVuuUtB7861fs6zu100tHbfXBJzNb9yn/9ex3UIPnZO5Cr hCvE4LLr3nkyVem7G13TZqF5tpYsSQf6QPgnzUEexfFiTH+es0VO/L5UM1rXO0oneOQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796058246; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=uTSPeoCq++Z/wZnhYGAzoIhaJ77GNU29dGHARiL+BzU=; b=bBJwwURNbsH3qV0COHR0jOerjJUiS2waM3OY5Q6A76g+TmWiP1d986iGo4B1o4w2cCnT x0Eq7rRPEketPqpuW3k324aklcreMtHbxH5xz7pV8hjrV41cbPbKX6G5Gd79bFq+Layuo XtWYVGYzXqy90SE0kNlch50aD+SiMcpiHKU6M0QITFxC61xbW9J49Sj1UC8w5JcDsLV+l GoAMgYbYzSEvo8tk1rhksr+TyaOGm9c0C8cvNTnESZE6gTloLJeocSNh2fXa/keasPLvV /OfL1H5EhgIAndPM1i2jozZhnG+In0j6VoiQHfX1cVava6xyPCCHgkxRJ6Z+F1uCqaA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=IiIIjECG; arc=none smtp.remote-ip=192.198.163.16 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44712606A332 for ; Mon, 30 Nov 2026 17:04:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 44712606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=IiIIjECG DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796058245; x=1827594245; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uTSPeoCq++Z/wZnhYGAzoIhaJ77GNU29dGHARiL+BzU=; b=IiIIjECG2NDNpXNkEJM7UqBXfC1aAiUrBQlBA30eyA3TMlIiyevJOng8 /sURI1XoOgJOIBWLOqD2bFx02auatc7dehbi4m+A0n2Cnd+Re3iM6vd8O MHaOk12QovNWVwc4lU7UVNXCJVgh86W2yDz3KcstGPOs1TCRROOPTQQ00 owHr4u8DHLpQxAULbX38YtJMwoYfzKpDNmIAZmPlKeSyMWRVlaTMf5mtB uDK8A629/yE3rYbw+pz93li+wkaBTRvKmNB0T4yfPRoiOt2Mi51ttpLPz 2+IMrWOQrZEvcbxRTahoMLSk70PfLI40ieemrwhTHyGAVcVnIAY5F+Kk/ Q==; X-CSE-ConnectionGUID: bO69CFDLTJakHMgAI53mrQ== X-CSE-MsgGUID: aGAjZxJRQ6y5/sWxDg+8YQ== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4900457" X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="4900457" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 09:04:05 -0800 X-CSE-ConnectionGUID: DCZpuaSqSumIE78VVTTcWA== X-CSE-MsgGUID: bAf1dUdUQQu3ZD77c2wzfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="13588937" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa010.fm.intel.com with ESMTP; 30 Nov 2026 09:04:03 -0800 Received: by black.igk.intel.com (Postfix, from userid 1003) id 25370A1; Mon, 30 Nov 2026 18:04:02 +0100 (CET) From: Andy Shevchenko To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Andy Shevchenko Subject: [PATCH v2 3/3] iio: chemical: sgp30: Use __packed shortcut for compiler attribute Date: Mon, 30 Nov 2026 18:01:13 +0100 Message-ID: <20261130170400.3629799-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20261130170400.3629799-1-andriy.shevchenko@linux.intel.com> References: <20261130170400.3629799-1-andriy.shevchenko@linux.intel.com> X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use __packed shortcut for __packed__ compiler attribute as it's a common style in IIO subsystem and Linux kernel in general. Signed-off-by: Andy Shevchenko --- drivers/iio/chemical/sgp30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c index 379c1c4af8d8..2b60a033e219 100644 --- a/drivers/iio/chemical/sgp30.c +++ b/drivers/iio/chemical/sgp30.c @@ -82,7 +82,7 @@ struct sgp_version { struct sgp_crc_word { __be16 value; u8 crc8; -} __attribute__((__packed__)); +} __packed; union sgp_reading { u8 start; -- 2.50.1