* [PATCH 5/5] cciss: change pad value from 32 to 0
@ 2010-06-04 20:16 Mike Miller
0 siblings, 0 replies; only message in thread
From: Mike Miller @ 2010-06-04 20:16 UTC (permalink / raw)
To: Andrew Morton, Jens Axboe
Cc: LKML, LKML-scsi, dab, scameron, gerry.morong, mike.miller,
scott.benesh, scott.stacy.teel, tom.lawler, mikem
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 <mike.miller@hp.com>
Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>, iss_storagedev@hp.com
---
drivers/block/cciss_cmd.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/block/cciss_cmd.h b/drivers/block/cciss_cmd.h
index eda6a8e..936b966 100644
--- a/drivers/block/cciss_cmd.h
+++ b/drivers/block/cciss_cmd.h
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-04 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04 20:16 [PATCH 5/5] cciss: change pad value from 32 to 0 Mike Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox