summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorAndrew Morton2015-06-27 20:20:34 +0200
committerJens Axboe2015-06-27 20:20:34 +0200
commite44ac588cd61c960226d61c379e2873a95544a51 (patch)
treee508c34c4e42bbc2530ba65466b96e4c26fcd517 /include/trace
parentMerge branch 'stable/for-jens-4.2' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadkernel-qcow2-linux-e44ac588cd61c960226d61c379e2873a95544a51.tar.gz
kernel-qcow2-linux-e44ac588cd61c960226d61c379e2873a95544a51.tar.xz
kernel-qcow2-linux-e44ac588cd61c960226d61c379e2873a95544a51.zip
drivers/block/nvme-core.c: fix build with gcc-4.4.4
gcc-4.4.4 (and possibly other versions) fail the compile when initializers are used with anonymous unions. Work around this. drivers/block/nvme-core.c: In function 'nvme_identify_ctrl': drivers/block/nvme-core.c:1163: error: unknown field 'identify' specified in initializer drivers/block/nvme-core.c:1163: warning: missing braces around initializer drivers/block/nvme-core.c:1163: warning: (near initialization for 'c.<anonymous>') drivers/block/nvme-core.c:1164: error: unknown field 'identify' specified in initializer drivers/block/nvme-core.c:1164: warning: excess elements in struct initializer drivers/block/nvme-core.c:1164: warning: (near initialization for 'c') ... This patch has no effect on text size with gcc-4.8.2. Fixes: d29ec8241c10eac ("nvme: submit internal commands through the block layer") Cc: Christoph Hellwig <hch@lst.de> Cc: Jens Axboe <axboe@fb.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions