提交 592b746c 编写于 作者: D Dan Carpenter 提交者: Matthew Garrett

toshiba_acpi: make one-bit bitfields unsigned

This doesn't change how the code works, but it silences a Sparse
complaint:
drivers/platform/x86/toshiba_acpi.c:121:37: error: dubious one-bit signed bitfield
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
上级 38db157d
......@@ -118,10 +118,10 @@ struct toshiba_acpi_dev {
int last_key_event;
int key_event_valid;
int illumination_supported:1;
int video_supported:1;
int fan_supported:1;
int system_event_supported:1;
unsigned int illumination_supported:1;
unsigned int video_supported:1;
unsigned int fan_supported:1;
unsigned int system_event_supported:1;
struct mutex mutex;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册