Ricardo B. Marliere
b6e3c115ef
net: hns: make hnae_class constant
...
Since commit 43a7206b0963 ("driver core: class: make class_register() take
a const *"), the driver core allows for struct class to be in read-only
memory, so move the hnae_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240302-class_cleanup-net-next-v1-1-8fa378595b93@marliere.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-05 11:21:17 -08:00
..
2024-01-24 15:12:20 -08:00
2023-09-20 09:06:37 +01:00
2024-02-29 14:24:56 -08:00
2023-09-20 09:06:37 +01:00
2023-09-20 09:06:37 +01:00
2023-10-13 10:04:53 +01:00
2024-02-18 19:47:45 +00:00
2024-02-19 10:29:07 +00:00
2023-10-26 13:46:28 -07:00
2023-09-20 09:06:37 +01:00
2024-02-09 12:55:46 -08:00
2023-09-20 09:06:37 +01:00
2023-12-12 13:20:37 -08:00
2023-12-15 10:55:35 +00:00
2024-03-04 08:47:06 +00:00
2024-02-14 12:49:47 +00:00
2023-11-18 14:52:57 +00:00
2023-09-20 09:06:38 +01:00
2024-01-24 15:12:20 -08:00
2023-12-13 22:07:16 -08:00
2024-01-24 15:12:20 -08:00
2024-02-22 15:29:26 -08:00
2024-01-07 16:05:00 +00:00
2023-09-20 09:06:38 +01:00
2023-10-02 11:24:55 -07:00
2023-12-12 11:25:36 +01:00
2023-12-13 22:07:16 -08:00
2024-02-08 15:30:33 -08:00
2024-01-24 15:12:20 -08:00
2023-09-20 09:06:38 +01:00
2024-02-29 14:24:56 -08:00
2023-12-13 22:07:16 -08:00
2024-03-05 11:38:14 +01:00
2024-03-05 11:21:17 -08:00
2023-12-13 22:07:16 -08:00
2024-02-08 18:41:10 -08:00
2024-01-08 15:27:15 -08:00
2024-03-04 20:49:59 -08:00
2024-01-24 15:12:21 -08:00
2024-03-04 10:15:26 +00:00
2024-03-05 11:38:14 +01:00
2024-02-15 16:20:04 -08:00
2024-01-09 15:02:12 -08:00
2024-02-22 18:54:07 -08:00
2024-02-01 13:06:40 +01:00
2023-09-20 09:06:39 +01:00
2024-02-05 12:35:18 +00:00
2023-09-20 09:06:40 +01:00
2024-01-11 16:16:08 -08:00
2024-03-01 08:42:31 +00:00
2023-10-11 17:28:06 -07:00
2024-02-14 11:20:13 +00:00
2023-09-20 09:06:40 +01:00
2024-03-04 09:38:14 +00:00
2024-03-04 08:47:06 +00:00
2024-02-26 11:46:12 +00:00
2024-02-20 18:28:46 -08:00
2024-02-16 08:32:04 +00:00
2024-02-23 18:03:53 -08:00
2024-02-07 09:03:37 -08:00
2023-09-20 09:06:40 +01:00
2024-03-04 08:47:06 +00:00
2023-09-20 09:06:40 +01:00
2024-01-29 12:12:51 +00:00
2023-11-28 15:48:39 +01:00
2024-02-29 14:24:56 -08:00
2024-03-04 08:47:06 +00:00
2023-09-20 09:06:41 +01:00
2024-02-16 11:53:49 +00:00
2024-02-29 14:24:56 -08:00
2023-09-20 09:06:41 +01:00
2023-09-20 09:06:41 +01:00
2024-03-05 11:13:04 +01:00
2024-02-09 12:27:36 -08:00
2024-02-09 12:27:43 -08:00
2024-02-08 19:04:28 -08:00
2023-11-01 22:15:15 -07:00
2023-09-20 09:06:38 +01:00
2024-01-29 12:12:51 +00:00
2023-09-20 09:06:38 +01:00
2024-02-07 13:17:51 +00:00
2023-09-20 09:06:39 +01:00
2023-09-20 09:06:39 +01:00
2023-09-20 09:06:39 +01:00