diff options
| author | Rahul Rameshbabu <sergeantsagara@protonmail.com> | 2024-12-14 19:43:06 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-12-17 13:30:45 +0100 |
| commit | d22f955cc2cb9684dd45396f974101f288869485 (patch) | |
| tree | 5a15f5785ef5c18281977ba7ca34348616ae15f2 /scripts/generate_rust_analyzer.py | |
| parent | ff9f17ce2e53887e74fc0e72711ece42526836ed (diff) | |
rust: net::phy scope ThisModule usage in the module_phy_driver macro
Similar to the use of $crate::Module, ThisModule should be referred to as
$crate::ThisModule in the macro evaluation. The reason the macro previously
did not cause any errors is because all the users of the macro would use
kernel::prelude::*, bringing ThisModule into scope.
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
Reviewed-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20241214194242.19505-1-sergeantsagara@protonmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
