Moshe Shemesh
bde74ad10e
devlink: Add helper function for safely copy string param
...
Devlink string param buffer is allocated at the size of
DEVLINK_PARAM_MAX_STRING_VALUE. Add helper function which makes sure
this size is not exceeded.
Renamed DEVLINK_PARAM_MAX_STRING_VALUE to
__DEVLINK_PARAM_MAX_STRING_VALUE to emphasize that it should be used by
devlink only. The driver should use the helper function instead to
verify it doesn't exceed the allowed length.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-10 10:19:10 -07:00
..
2018-07-06 12:32:12 +02:00
2018-08-17 17:27:58 -07:00
2018-07-24 14:10:43 -07:00
2018-06-28 10:40:47 -07:00
2018-08-15 15:04:25 -07:00
2018-07-24 14:10:42 -07:00
2018-09-14 17:59:20 +02:00
2018-09-26 12:39:32 +03:00
2018-08-03 00:47:32 +02:00
2018-10-05 11:51:06 -07:00
2018-09-20 18:24:14 +02:00
2018-07-30 09:10:25 -07:00
2018-06-28 10:40:47 -07:00
2018-08-13 17:55:44 +02:00
2018-10-10 10:19:10 -07:00
2018-07-27 13:17:50 -07:00
2018-10-02 15:52:12 -07:00
2018-08-09 14:11:24 -07:00
2018-07-24 14:10:43 -07:00
2018-08-27 15:24:33 -07:00
2018-06-26 11:33:04 +09:00
2018-08-06 11:21:15 +02:00
2018-04-22 21:12:00 -04:00
2018-10-07 20:33:10 -07:00
2018-10-05 14:45:34 -07:00
2018-09-05 22:32:22 -07:00
2018-09-17 18:43:42 -07:00
2018-07-27 09:33:37 -07:00
2018-08-13 20:45:49 -07:00
2018-08-09 11:52:36 -07:00
2018-10-01 09:13:48 +02:00
2018-08-06 11:21:37 +02:00
2018-09-24 12:19:27 -07:00
2018-08-22 21:39:08 -07:00
2018-09-28 14:47:41 +02:00
2018-09-21 18:58:34 -07:00
2018-08-05 13:04:31 -07:00
2018-06-28 10:40:47 -07:00
2018-09-18 19:55:01 -07:00
2018-07-12 16:55:29 -07:00
2018-10-04 21:45:16 -07:00
2018-10-04 22:23:15 -07:00
2018-06-28 10:40:47 -07:00
2018-07-05 20:20:03 +09:00
2018-09-23 12:25:15 -07:00
2018-09-03 22:12:02 -07:00
2018-06-28 10:40:47 -07:00
2018-09-28 10:33:17 +01:00
2018-10-07 21:02:37 -07:00
2018-10-03 09:33:13 -07:00
2018-09-20 07:49:55 -07:00
2018-08-01 10:00:06 -07:00
2018-08-23 16:03:58 -07:00
2018-10-01 22:35:30 -07:00
2018-09-17 08:03:09 -07:00
2018-08-03 16:44:19 -07:00
2018-08-07 12:39:13 -07:00
2018-07-24 14:10:42 -07:00
2018-10-01 09:14:03 +02:00
2018-07-24 14:10:42 -07:00
2018-08-21 22:06:53 +02:00
2018-10-01 22:29:25 -07:00
2018-08-06 10:42:48 -07:00
2018-07-24 14:10:43 -07:00
2018-06-28 13:36:39 +09:00
2018-09-13 16:01:06 -07:00
2018-03-27 13:18:09 -04:00