Skip to contentSkip to conversation

cciss: change pad value from 32 to 0

PATCH New Mike Miller 1 participant 1 message Jun 4, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/5 cciss: change pad value from 32 to 0

Patch 5 of 5
cciss: change padding from 32 to 0 since it has the same effect Change the command padding on 32-bit systems to 0 since setting it to 32 has the identical effect.

From: Mike Miller <[email protected]>

---
 drivers/block/cciss_cmd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/block/cciss_cmd.h +1 -1
index eda6a8e..936b966 100644
@@ -177,7 +177,7 @@ typedef struct _SGDescriptor_struct {
 #define COMMANDLIST_ALIGNMENT (32)
 #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