projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89373de
)
[PATCH] qla: remove anonymous union
author
Andrew Morton
<akpm@osdl.org>
Tue, 26 Jul 2005 21:11:28 +0000
(14:11 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:34:18 +0000
(14:34 -0700)
Older gcc's dont support anonymous unions, so this driver gets hundreds of
error.
Fortunately the fix is easy...
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/qla2xxx/qla_def.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_def.h
b/drivers/scsi/qla2xxx/qla_def.h
index acf40dcbfb308026320ada27352f9b924b2c6dfd..1c6d366f4fad8e716bd2c464bdfc197768497c3a 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_def.h
+++ b/
drivers/scsi/qla2xxx/qla_def.h
@@
-451,11
+451,9
@@
struct device_reg_2xxx {
} u_end;
};
-typedef struct {
- union {
+typedef union {
struct device_reg_2xxx isp;
struct device_reg_24xx isp24;
- };
} device_reg_t;
#define ISP_REQ_Q_IN(ha, reg) \