Commit f3bcb143 authored by Mike Miller's avatar Mike Miller Committed by Jens Axboe

cciss: change pad value from 32 to 0

Change the command padding on 32-bit systems to 0 since setting it to 32
has the identical effect.
Signed-off-by: default avatarMike Miller <mike.miller@hp.com>
Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent b0dd5cad
...@@ -177,7 +177,7 @@ typedef struct _SGDescriptor_struct { ...@@ -177,7 +177,7 @@ typedef struct _SGDescriptor_struct {
#define COMMANDLIST_ALIGNMENT (32) #define COMMANDLIST_ALIGNMENT (32)
#define IS_64_BIT ((sizeof(long) - 4)/4) #define IS_64_BIT ((sizeof(long) - 4)/4)
#define IS_32_BIT (!IS_64_BIT) #define IS_32_BIT (!IS_64_BIT)
#define PAD_32 (32) #define PAD_32 (0)
#define PAD_64 (4) #define PAD_64 (4)
#define PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64) #define PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
#define DIRECT_LOOKUP_BIT 0x10 #define DIRECT_LOOKUP_BIT 0x10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment