From mboxrd@z Thu Jan 1 00:00:00 1970 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 0847226137F for ; Mon, 12 May 2025 10:17:57 +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=1747045077; cv=none; b=BIb+5v+ur/N4wVz2m/if9Yn5r6+FgK057jQx6CvucMFhWCczw4w4V0iGI5maFS2hpmM6y/rIUmv6R3giEXIxIRCNYOn8/nCtaGeuzH5k7XOne/ZV51OjUEUo63AwQPFJhV4tofI4AQwhqfG5zkwb4Q/2NCMQTcttfC0rbFRMzI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747045077; c=relaxed/simple; bh=SSGcqzrrQmR7tsZ3E3VApUlwxixHR8PPTsThgZtpKjE=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=FPuERa2ayf+4KjwIwHLnC9ckLEhEh3oYBBzYzuVVk+lAL3HT4acGTdYLgVvvR2KdjFn+ITwCbAQ2KpayN8AMB2k06C0trkpoWVZe3pvBD+WXth6qM0IIAuutQP98h6BqioOjswFB+ILbh3zdqvq3tx5Rs8GYBZx6U6VlD6lEcno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ADj3rUlq; 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="ADj3rUlq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74977C4CEE7; Mon, 12 May 2025 10:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747045076; bh=SSGcqzrrQmR7tsZ3E3VApUlwxixHR8PPTsThgZtpKjE=; h=Subject:To:Cc:From:Date:From; b=ADj3rUlqDYerrMEZ+eV4Z0WGiB0hvNLdSvYD5+Ao4sWP9OusGfPoQZdP/qySUs9Of KDNcVIPCIExlQambRufhKglGKHyT71N0osgI9lnI5AHWxNxbgMNihg7jUoyEKxagnZ s+z1utp4y4CMLQXxLzjXJzTZU5ahh1SdqRx9ttOc= Subject: FAILED: patch "[PATCH] iio: chemical: sps30: use aligned_s64 for timestamp" failed to apply to 5.4-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:35 +0200 Message-ID: <2025051235-quit-circus-c6e7@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.4-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.4.y git checkout FETCH_HEAD git cherry-pick -x bb49d940344bcb8e2b19e69d7ac86f567887ea9a # git commit -s git send-email --to '' --in-reply-to '2025051235-quit-circus-c6e7@gregkh' --subject-prefix 'PATCH 5.4.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);