Skip to content

Commit

Permalink
[PATCH] mpspec: remove unneeded packed attribute
Browse files Browse the repository at this point in the history
GCC 4.1 gives the following warning: include/asm/mpspec.h:79: warning:
`packed' attribute ignored for field of type `unsigned char'

The packed attribute isn't really necessary anyways so just remove it.

Signed-off-by: Brian Gerst <bgerst@didntduck.org>
Acked-by: Dave Jones <davej@codemonkey.org.uk>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Brian Gerst authored and Linus Torvalds committed Jan 6, 2006
1 parent bcf0f0d commit 19d5348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/asm-i386/mpspec_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct mpc_config_bus
{
unsigned char mpc_type;
unsigned char mpc_busid;
unsigned char mpc_bustype[6] __attribute((packed));
unsigned char mpc_bustype[6];
};

/* List of Bus Type string values, Intel MP Spec. */
Expand Down
2 changes: 1 addition & 1 deletion include/asm-x86_64/mpspec.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ struct mpc_config_bus
{
unsigned char mpc_type;
unsigned char mpc_busid;
unsigned char mpc_bustype[6] __attribute((packed));
unsigned char mpc_bustype[6];
};

/* List of Bus Type string values, Intel MP Spec. */
Expand Down

0 comments on commit 19d5348

Please sign in to comment.