]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
cciss: change pad value from 32 to 0
authorMike Miller <mike.miller@hp.com>
Fri, 11 Jun 2010 11:13:36 +0000 (13:13 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:15:29 +0000 (18:15 +0200)
Change the command padding on 32-bit systems to 0 since setting it to 32
has the identical effect.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss_cmd.h

index eda6a8e6b600c5a48dd6d2b372e19bc998dd85bf..936b9666da6a60f020f6a12c54b5faf038857e6e 100644 (file)
@@ -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