Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
printk_ratelimited(): fix uninitialized spinlock
commit d8521fc upstream. ratelimit_state initialization of printk_ratelimited() seems broken. This fixes it by using DEFINE_RATELIMIT_STATE() to initialize spinlock properly. Signed-off-by: OGAWA Hirofumi <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Cc: Sven-Haegar Koch <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information