Arnd Bergmann
6098d7ddd6
rocker: fix rocker_tlv_put_* functions for KASAN
...
Inlining these functions creates lots of stack variables that each take
64 bytes when KASAN is enabled, leading to this warning about potential
stack overflow:
drivers/net/ethernet/rocker/rocker_ofdpa.c: In function 'ofdpa_cmd_flow_tbl_add':
drivers/net/ethernet/rocker/rocker_ofdpa.c:621:1: error: the frame size of 2752 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
gcc-8 can now consolidate the stack slots itself, but on older versions
we get the same behavior by using a temporary variable that holds a
copy of the inline function argument.
Cc: stable@vger.kernel.org
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-09-25 20:18:27 -07:00
..
2017-09-22 23:38:45 +02:00
2017-09-01 09:22:50 +02:00
2017-09-06 22:41:21 -07:00
2017-09-22 17:28:59 -10:00
2017-09-12 20:03:53 -07:00
2017-09-10 20:40:00 -07:00
2017-09-14 11:59:30 +02:00
2017-09-13 11:04:14 -07:00
2017-09-15 20:43:33 -07:00
2017-09-20 00:51:01 +02:00
2017-09-19 23:10:51 +02:00
2017-09-20 17:42:42 +08:00
2017-09-14 13:43:16 -07:00
2017-08-28 10:31:08 +09:00
2017-09-07 14:03:05 -07:00
2017-09-14 11:59:30 +02:00
2017-08-28 16:24:22 +02:00
2017-08-28 17:15:16 +02:00
2017-09-07 13:51:13 -07:00
2017-09-21 08:02:39 +10:00
2017-09-07 12:53:14 -07:00
2017-09-07 09:25:15 -07:00
2017-09-14 11:59:30 +02:00
2017-08-28 16:58:19 +02:00
2017-09-14 17:34:43 +02:00
2017-09-07 11:59:42 -07:00
2017-09-05 12:19:08 -07:00
2017-09-07 13:51:13 -07:00
2017-09-23 05:47:04 -10:00
2017-09-22 17:23:41 -10:00
2017-09-22 12:05:43 +02:00
2017-09-15 20:43:33 -07:00
2017-09-20 16:01:36 -07:00
2017-09-14 11:59:30 +02:00
2017-09-01 16:42:54 +10:00
2017-09-07 13:23:37 -07:00
2017-09-05 11:08:17 -07:00
2017-09-19 08:39:32 -07:00
2017-09-14 18:13:32 -07:00
2017-09-10 20:40:00 -07:00
2017-08-29 21:51:45 -04:00
2017-09-14 11:59:30 +02:00
2017-09-13 18:53:16 -07:00
2017-09-08 15:38:22 +02:00
2017-09-18 14:51:02 +02:00
2017-08-29 13:46:35 +02:00
2017-09-25 20:18:27 -07:00
2017-09-18 17:29:01 -07:00
2017-09-11 12:29:40 -04:00
2017-08-28 17:33:23 +02:00
2017-09-12 13:30:06 -07:00
2017-09-05 11:08:17 -07:00
2017-09-20 13:56:06 -05:00
2017-08-29 15:21:53 +02:00
2017-09-22 15:11:46 +01:00
2017-09-15 20:43:33 -07:00
2017-09-12 15:58:45 +02:00
2017-09-14 11:59:30 +02:00
2017-09-14 11:59:30 +02:00
2017-09-09 14:44:39 -07:00
2017-09-08 18:26:51 -07:00
2017-09-11 13:04:32 -07:00
2017-09-07 13:51:13 -07:00
2017-09-09 14:34:38 -07:00
2017-09-15 20:43:33 -07:00
2017-09-04 10:52:30 -07:00
2017-09-13 10:56:00 -07:00
2017-09-19 08:36:19 +02:00
2017-09-15 15:16:49 -04:00
2017-09-15 20:43:33 -07:00
2017-09-05 12:45:03 -07:00
2017-08-28 13:52:22 +02:00
2017-09-14 18:54:01 -07:00
2017-09-14 18:13:32 -07:00
2017-09-08 11:20:04 +08:00
2017-09-05 12:45:03 -07:00
2017-09-14 11:59:30 +02:00
2017-09-14 18:13:32 -07:00
2017-08-30 14:03:42 -06:00
2017-09-08 18:26:49 -07:00
2017-09-14 13:33:33 -07:00
2017-08-29 08:52:51 -05:00
2017-09-07 21:11:05 -07:00
2017-09-09 14:44:39 -07:00
2017-09-15 20:43:33 -07:00
2017-09-22 06:40:47 -10:00