You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conditional removal of the explicit .owner = THIS_MODULE initialization in recent module examples was introduced in commit 1c31bac ("Fix Linux v6.5 compatibility"):
What is the specific Linux kernel commit that introduced this change, and what is the technical rationale? (Since struct file_operations::owner still exists in the header, I assume the core kernel now automatically handles module usage counting for file operations, making the explicit setting redundant?)
The change was introduced to fix "Linux v6.5 compatibility," but the version check uses < 6.4.0. Could you please clarify the exact version boundary, and whether the condition should potentially be adjusted (e.g., changing < to <= or the version numbers)?