diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-06-20 16:37:02 +0200 |
---|---|---|
committer | Corey Minyard <minyard@acm.org> | 2023-06-20 09:49:08 -0500 |
commit | 392fa3a3abdb03105c8767b7fb176bc8793349f5 (patch) | |
tree | 745c2bd9c8668349ae00f4a228f088389fe3675c /io_uring/net.c | |
parent | b8d72e32e1453d37ee5c8a219f24e7eeadc471ef (diff) | |
download | linux-stable-392fa3a3abdb03105c8767b7fb176bc8793349f5.tar.gz linux-stable-392fa3a3abdb03105c8767b7fb176bc8793349f5.tar.bz2 linux-stable-392fa3a3abdb03105c8767b7fb176bc8793349f5.zip |
ipmi: make ipmi_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the ipmi_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Cc: Corey Minyard <minyard@acm.org>
Cc: openipmi-developer@lists.sourceforge.net
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Message-Id: <20230620143701.577657-2-gregkh@linuxfoundation.org>
Signed-off-by: Corey Minyard <minyard@acm.org>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions