diff options
| author | Alice Ryhl <[email protected]> | 2025-01-10 10:14:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-01-10 12:23:57 +0000 |
| commit | bf2aa7df2687a24ebb52cec4a24443121ac3126d (patch) | |
| tree | 2abb2cba551f54b4dc9fb44bd87b37cf32578569 /drivers/base/class.c | |
| parent | firmware_loader: Constify 'struct bin_attribute' (diff) | |
| download | kernel-bf2aa7df2687a24ebb52cec4a24443121ac3126d.tar.gz kernel-bf2aa7df2687a24ebb52cec4a24443121ac3126d.zip | |
miscdevice: rust: use build_error! macro instead of function
The function called build_error is an implementation detail of the macro
of the same name. Thus, update miscdevice to use the macro rather than
the function. See [1] for more information on this.
These use the macro with the kernel:: prefix as it has not yet been
added to the prelude.
Reported-by: Stephen Rothwell <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/all/[email protected]/ [1]
Signed-off-by: Alice Ryhl <[email protected]>
Acked-by: Miguel Ojeda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions
