Scott Bauer
e225c20eb0
Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN
...
When CONFIG_KASAN is enabled, compilation fails:
block/sed-opal.c: In function 'sed_ioctl':
block/sed-opal.c:2447:1: error: the frame size of 2256 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
Moved all the ioctl structures off the stack and dynamically allocate
using _IOC_SIZE()
Fixes: 455a7b238cd6 ("block: Add Sed-opal library")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Scott Bauer <scott.bauer@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-02-14 19:47:18 -07:00
..
2017-01-17 09:02:31 -07:00
2016-10-21 15:45:47 -06:00
2016-10-28 08:45:17 -06:00
2017-02-01 12:32:29 -07:00
2017-01-18 15:37:27 -07:00
2017-02-01 15:31:22 -07:00
2017-01-27 09:03:14 -07:00
2017-01-27 09:03:14 -07:00
2015-10-21 14:43:45 -06:00
2017-01-17 10:04:20 -07:00
2016-12-09 08:30:51 -07:00
2016-12-13 10:19:16 -08:00
2017-01-17 10:04:20 -07:00
2016-11-08 17:30:00 -05:00
2017-01-27 08:17:44 -07:00
2016-09-19 08:21:51 -06:00
2017-01-27 09:08:23 -07:00
2017-01-27 09:03:14 -07:00
2017-01-27 08:17:44 -07:00
2017-01-27 09:03:14 -07:00
2017-01-27 08:17:44 -07:00
2017-01-31 23:32:50 -07:00
2017-01-27 15:03:01 -07:00
2016-12-13 10:19:16 -08:00
2016-10-15 10:03:15 -07:00
2016-12-09 13:08:35 -07:00
2016-11-10 13:53:26 -07:00
2016-12-13 10:19:16 -08:00
2017-01-17 10:04:20 -07:00
2017-01-23 08:32:15 -07:00
2015-12-22 09:38:34 -07:00
2017-01-02 09:48:47 -07:00
2016-11-28 10:27:03 -07:00
2016-10-24 20:51:22 -06:00
2017-01-17 10:03:42 -07:00
2015-09-19 18:57:09 -07:00
2016-12-14 10:49:33 -08:00
2016-12-22 23:03:42 -05:00
2017-01-23 08:32:18 -07:00
2014-01-21 20:18:26 -08:00
2016-04-04 10:41:08 -07:00
2017-01-17 10:03:33 -07:00
2017-02-14 08:16:41 -07:00
2016-08-04 14:19:16 -06:00
2016-12-24 11:46:01 -08:00
2016-07-01 08:39:24 -06:00
2017-02-06 09:44:19 -07:00
2017-01-17 10:04:31 -07:00
2017-02-06 09:44:19 -07:00
2017-01-27 08:20:35 -07:00
2017-01-17 10:03:33 -07:00
2017-02-06 09:44:19 -07:00
2016-12-01 07:56:53 -07:00
2016-12-24 11:46:01 -08:00
2017-02-14 19:47:18 -07:00
2015-10-21 14:42:38 -06:00