Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CB581255E33 for ; Mon, 12 May 2025 10:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747045073; cv=none; b=IAEBErblZkBFfkSbcqKC96A5c0fouxg4KigqDHeohgWY7c1dGiO/VVDqSI5Fuox8v6yVBGHar4D4arASdL0Prr17dpcaqtKZmaroEK9dtD5W1FD2cEujWtNPMzzXVVnBix/y0Xa0rkd5f641FzLEi6mCllvpdXZylwCkeA+Dj8U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747045073; c=relaxed/simple; bh=tI0xn2S4f3bnF2XImMg7xvCaFsbR3wzIGNiEEHp+TpE=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=XbTg1NaOJvUlg5qxZ3ueQeyqcPRsohgv0GmGrsq2VW22MPUU5gXFoRUqOUD51Y/YQCDc329YZcR7DQ9KY1qDikSEp+u68xXeY/kAIK8lKlqOxf0rzVGOywni+ek5QawQK+nXg7HTIQ0pJr9yaOV/hfiL99FDqyLitqVecDbyDRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aAL9qqY+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aAL9qqY+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30DE0C4CEE7; Mon, 12 May 2025 10:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747045073; bh=tI0xn2S4f3bnF2XImMg7xvCaFsbR3wzIGNiEEHp+TpE=; h=Subject:To:Cc:From:Date:From; b=aAL9qqY+bi2dAz7IQ8TIlK4nCx4x65Y4X+7nR6/riyiD8CNMl+kUPkEYMRBOYyQdb mM2Sv7CFm0aiRcpRVp6ZgBe6NpkDvhNyjMwqo6keflMtDUmUSIgiTFlk7/prUSaN7Y SVOE238kt+79W8r6FqDMc5USIijbTca2PyOQngEc= Subject: FAILED: patch "[PATCH] iio: chemical: sps30: use aligned_s64 for timestamp" failed to apply to 5.15-stable tree To: dlechner@baylibre.com,Jonathan.Cameron@huawei.com,Stable@vger.kernel.org,nuno.sa@analog.com Cc: From: Date: Mon, 12 May 2025 12:17:34 +0200 Message-ID: <2025051234-swerve-tamer-8fde@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y git checkout FETCH_HEAD git cherry-pick -x bb49d940344bcb8e2b19e69d7ac86f567887ea9a # git commit -s git send-email --to '' --in-reply-to '2025051234-swerve-tamer-8fde@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From bb49d940344bcb8e2b19e69d7ac86f567887ea9a Mon Sep 17 00:00:00 2001 From: David Lechner Date: Thu, 17 Apr 2025 11:52:37 -0500 Subject: [PATCH] iio: chemical: sps30: use aligned_s64 for timestamp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow the pattern of other drivers and use aligned_s64 for the timestamp. This will ensure that the timestamp is correctly aligned on all architectures. Fixes: a5bf6fdd19c3 ("iio:chemical:sps30: Fix timestamp alignment") Signed-off-by: David Lechner Reviewed-by: Nuno Sá Link: https://patch.msgid.link/20250417-iio-more-timestamp-alignment-v1-5-eafac1e22318@baylibre.com Cc: Signed-off-by: Jonathan Cameron diff --git a/drivers/iio/chemical/sps30.c b/drivers/iio/chemical/sps30.c index 6f4f2ba2c09d..a7888146188d 100644 --- a/drivers/iio/chemical/sps30.c +++ b/drivers/iio/chemical/sps30.c @@ -108,7 +108,7 @@ static irqreturn_t sps30_trigger_handler(int irq, void *p) int ret; struct { s32 data[4]; /* PM1, PM2P5, PM4, PM10 */ - s64 ts; + aligned_s64 ts; } scan; mutex_lock(&state->lock);