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 <>
Cc: Stephen M. Cameron <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarJens Axboe <>
parent b0dd5cad
......@@ -177,7 +177,7 @@ typedef struct _SGDescriptor_struct {
#define IS_64_BIT ((sizeof(long) - 4)/4)
#define IS_32_BIT (!IS_64_BIT)
#define PAD_32 (32)
#define PAD_32 (0)
#define PAD_64 (4)
#define PADSIZE (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
#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