Skip to content

fixup! gpio-fsm: Avoid truncation of delay jiffies - #5416

Merged
pelwell merged 1 commit into
raspberrypi:rpi-6.1.yfrom
pelwell:fsmfix
Apr 2, 2023
Merged

pelwell merged 1 commit into
raspberrypi:rpi-6.1.yfrom
pelwell:fsmfix

Conversation

@pelwell

@pelwell pelwell commented Apr 1, 2023

Copy link
Copy Markdown
Contributor

The kernel's time unit of jiffies should be stored as an unsigned long value. Storing it as an unsigned int, as gpio-fsm did, leads to truncation and malfunction when the kernel is built for a 64-bit platform.

The kernel's time unit of jiffies should be stored as an unsigned long
value. Storing it as an unsigned int, as gpio-fsm did, leads to
truncation and malfunction when the kernel is built for a 64-bit
platform.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell
pelwell merged commit 0afb5e9 into raspberrypi:rpi-6.1.y Apr 2, 2023
@pelwell
pelwell deleted the fsmfix branch April 2, 2023 19:37
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 3, 2023
See: raspberrypi/linux#5416

kernel: media: bcm2835-unicam: Start and stop media_pipeline with same node
See: raspberrypi/linux#5409

kernel: IMX708 link frequency changes
See: raspberrypi/linux#5381
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Apr 3, 2023
See: raspberrypi/linux#5416

kernel: media: bcm2835-unicam: Start and stop media_pipeline with same node
See: raspberrypi/linux#5409

kernel: IMX708 link frequency changes
See: raspberrypi/linux#5381
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant