“6151c27ae7bf921796e7daa1516371c70f5f92dc”上不存在“doc/QUESTION.md”
提交 9a168bdd 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] qla: remove anonymous union

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: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 89373de7
...@@ -451,11 +451,9 @@ struct device_reg_2xxx { ...@@ -451,11 +451,9 @@ struct device_reg_2xxx {
} u_end; } u_end;
}; };
typedef struct { typedef union {
union {
struct device_reg_2xxx isp; struct device_reg_2xxx isp;
struct device_reg_24xx isp24; struct device_reg_24xx isp24;
};
} device_reg_t; } device_reg_t;
#define ISP_REQ_Q_IN(ha, reg) \ #define ISP_REQ_Q_IN(ha, reg) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册