projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blk-mq: Replace zero-length array with flexible-array member
[linux-block.git]
/
include
/
linux
/
blk-mq.h
diff --git
a/include/linux/blk-mq.h
b/include/linux/blk-mq.h
index f389d7c724bd2b25a8a6477060079282da7ff88e..b45148ba3291208fe83bcdd60d9c784ba725d4be 100644
(file)
--- a/
include/linux/blk-mq.h
+++ b/
include/linux/blk-mq.h
@@
-173,7
+173,7
@@
struct blk_mq_hw_ctx {
* blocking (BLK_MQ_F_BLOCKING). Must be the last member - see also
* blk_mq_hw_ctx_size().
*/
- struct srcu_struct srcu[
0
];
+ struct srcu_struct srcu[];
};
/**