WARNING: line length of 100 exceeds 80 columns #85: FILE: rust/kernel/net/netlink_tap.rs:45: + // SAFETY: The caller pinned `self`, so accessing the interior through the stable address is WARNING: line length of 100 exceeds 80 columns #109: FILE: rust/kernel/net/netlink_tap.rs:69: + // SAFETY: The caller pinned `self`, so accessing the interior through the stable address is WARNING: line length of 90 exceeds 80 columns #119: FILE: rust/kernel/net/netlink_tap.rs:79: + // SAFETY: `self.inner` contains a valid `struct netlink_tap` previously passed to WARNING: line length of 99 exceeds 80 columns #124: FILE: rust/kernel/net/netlink_tap.rs:84: + // SAFETY: The tap has been removed and `netlink_remove_tap` waited for in-flight users via WARNING: line length of 82 exceeds 80 columns #125: FILE: rust/kernel/net/netlink_tap.rs:85: + // `synchronize_net`, so restoring the zeroed unregistered state is valid. WARNING: line length of 92 exceeds 80 columns #225: FILE: rust/kernel/net/rtnl.rs:90: +/// Safe view over the `struct nlattr *tb[]` / `data[]` arrays passed to validate callbacks. WARNING: line length of 98 exceeds 80 columns #243: FILE: rust/kernel/net/rtnl.rs:108: + // SAFETY: The RTNL core provides these arrays for validate callbacks. Indexing is kept in WARNING: line length of 88 exceeds 80 columns #244: FILE: rust/kernel/net/rtnl.rs:109: + // the abstraction layer so driver code does not perform raw pointer arithmetic. WARNING: line length of 85 exceeds 80 columns #260: FILE: rust/kernel/net/rtnl.rs:125: + pub unsafe fn from_raw<'a>(ptr: *mut bindings::netlink_ext_ack) -> &'a mut Self { WARNING: line length of 83 exceeds 80 columns #289: FILE: rust/kernel/net/rtnl.rs:154: +// SAFETY: Shared references do not expose interior mutation beyond drop semantics. WARNING: line length of 98 exceeds 80 columns #292: FILE: rust/kernel/net/rtnl.rs:157: +// SAFETY: Registration and unregistration are handled by RTNL core code and can be performed from WARNING: line length of 85 exceeds 80 columns #313: FILE: rust/kernel/net/rtnl.rs:178: + // SAFETY: The RTNL core passes a valid extack pointer when non-null. WARNING: line length of 95 exceeds 80 columns #331: FILE: rust/kernel/net/rtnl.rs:196: + // SAFETY: All-zero is a valid initial state for the opaque RTNL ops structure. WARNING: line length of 90 exceeds 80 columns #334: FILE: rust/kernel/net/rtnl.rs:199: + // SAFETY: `ptr` is valid for writes for the duration of this initializer. WARNING: line length of 83 exceeds 80 columns #342: FILE: rust/kernel/net/rtnl.rs:207: + // SAFETY: `ptr` now points to a fully initialized `rtnl_link_ops`. WARNING: line length of 88 exceeds 80 columns #353: FILE: rust/kernel/net/rtnl.rs:218: + // SAFETY: The existence of `self` guarantees a successful earlier registration. total: 0 errors, 16 warnings, 0 checks, 317 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 70b887f5d5ba ("rust: net: add minimal rtnl registration and netlink tap support") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 16 warnings, 0 checks, 317 lines checked