mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-16 02:01:27 +00:00
ib_srpt: Declare second srpt_get_u64_x() argument const (merge r7281 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7536 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -38,6 +38,18 @@
|
||||
#define smp_mb__after_atomic_dec smp_mb__after_atomic
|
||||
#endif
|
||||
|
||||
/* <asm-generic/bug.h> */
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) && !defined(WARN)
|
||||
/* See also commit a8f18b909c0a3f22630846207035c8b84bb252b8 */
|
||||
#define WARN(condition, format...) do { \
|
||||
if (unlikely(condition)) { \
|
||||
printk(KERN_WARNING format); \
|
||||
WARN_ON(true); \
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
/* <asm-generic/fcntl.h> */
|
||||
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 32)
|
||||
|
||||
@@ -68,16 +68,6 @@
|
||||
#include "scst_debug.h"
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) && !defined(WARN)
|
||||
/* See also commit a8f18b909c0a3f22630846207035c8b84bb252b8 */
|
||||
#define WARN(condition, format...) do { \
|
||||
if (unlikely(condition)) { \
|
||||
printk(KERN_WARNING format); \
|
||||
WARN_ON(true); \
|
||||
} \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
/* Name of this kernel module. */
|
||||
#define DRV_NAME "ib_srpt"
|
||||
#define DRV_VERSION "3.3.0-rc#" __stringify(OFED_FLAVOR)
|
||||
|
||||
Reference in New Issue
Block a user