linux/debian/patches/bugfix/m68k/2.6.24/448-ide.diff

23 lines
552 B
Diff

To: linus, akpm, B.Zolnierkiewicz@elka.pw.edu.pl
Cc: lkml
Subject: [PATCH] m68k IDE compiler bug
From: Roman Zippel <zippel@linux-m68k.org>
IDE: Avoid compiler bug in gcc 3.2 (from Roman Zippel)
---
include/linux/ide.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -502,7 +502,7 @@ typedef union {
* sense_key : Sense key of the last failed packet command
*/
typedef union {
- unsigned all :8;
+ u8 all;
struct {
#if defined(__LITTLE_ENDIAN_BITFIELD)
unsigned ili :1;