Skip to contentSkip to conversation

Fix bint check version check

PATCH In review Ozan Çağlayan 2 participants 2 messages Jan 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix bint check version check

It seems that the bint stuff is not a part of 3.2 kernel as it's pulled by Linus only a few days ago, so increment version check to 3.3.0:

commit 69116f279a9eaf4c540934269342d9149538fc79

Author: Rusty Russell <[email protected]>
Date:   Fri Jan 13 09:32:17 2012 +1030

module_param: avoid bool abuse, add bint for special cases.

---
 include/adriver.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/adriver.h +1 -1
index a6e6cbc..9bc8ca8 100644
@@ -830,7 +830,7 @@ static inline unsigned long msecs_to_jiffies(const unsigned int m)
 #endif
 #endif
 
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 2, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
 #include <linux/moduleparam.h>
 #ifndef param_get_bint
 #define bint bool
Signature · 6 lines
1.7.7.1

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#1 lore raw
Quoted 3 lines · Ozan Çağlayan

It seems that the bint stuff is not a part of 3.2 kernel as it's pulled by Linus only a few days ago, so increment version check to 3.3.0:

Thanks. Applied.

Jaroslav

Signature · 7 lines
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel