diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-15 14:55:18 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 09:07:52 -0600 |
commit | b3e7e7d2d668de0102264302a4d10dd9d4438a42 (patch) | |
tree | 3c24f315b9878a28e97e804262f64c70f1425ce7 /block/blk-mq-debugfs.c | |
parent | f441108fa08c466d986a7dca776f59dabab58456 (diff) | |
download | talos-obmc-linux-b3e7e7d2d668de0102264302a4d10dd9d4438a42.tar.gz talos-obmc-linux-b3e7e7d2d668de0102264302a4d10dd9d4438a42.zip |
include/uapi/linux/blkzoned.h: Remove a superfluous __packed directive
Using the __packed directive for a structure that does not need
it is wrong because it makes gcc generate suboptimal code on some
architectures. Hence remove the __packed directive from the
blk_zone_report structure definition. See also
http://digitalvampire.org/blog/index.php/2006/07/31/why-you-shouldnt-use-__attribute__packed/.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Matias Bjorling <mb@lightnvm.io>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions