diff options
author | 2023-06-20 16:37:02 +0200 | |
---|---|---|
committer | 2023-06-20 09:49:08 -0500 | |
commit | 392fa3a3abdb03105c8767b7fb176bc8793349f5 (patch) | |
tree | 745c2bd9c8668349ae00f4a228f088389fe3675c /scripts/generate_rust_analyzer.py | |
parent | ipmi:ssif: Fix a memory leak when scanning for an adapter (diff) | |
download | linux-rng-392fa3a3abdb03105c8767b7fb176bc8793349f5.tar.xz linux-rng-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions