summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-lp8841-rtc.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2024-02-07 14:46:52 +0106
committerSasha Levin <sashal@kernel.org>2024-03-26 18:17:39 -0400
commit3a2bd2b150f45844d99267696256716e4f23bf53 (patch)
tree6b7f7ca7a22eb98de38018a8d55d2bec87050e5a /drivers/spi/spi-lp8841-rtc.c
parent7c09db1068170e42fa85e25ff1367843e7326829 (diff)
downloadlinux-stable-3a2bd2b150f45844d99267696256716e4f23bf53.tar.gz
linux-stable-3a2bd2b150f45844d99267696256716e4f23bf53.tar.bz2
linux-stable-3a2bd2b150f45844d99267696256716e4f23bf53.zip
printk: Use prb_first_seq() as base for 32bit seq macros
[ Upstream commit 90ad525c2d9a8a6591ab822234a94b82871ef8e0 ] Note: This change only applies to 32bit architectures. On 64bit architectures the macros are NOPs. Currently prb_next_seq() is used as the base for the 32bit seq macros __u64seq_to_ulseq() and __ulseq_to_u64seq(). However, in a follow-up commit, prb_next_seq() will need to make use of the 32bit seq macros. Use prb_first_seq() as the base for the 32bit seq macros instead because it is guaranteed to return 64bit sequence numbers without relying on any 32bit seq macros. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20240207134103.1357162-4-john.ogness@linutronix.de Signed-off-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi/spi-lp8841-rtc.c')
0 files changed, 0 insertions, 0 deletions