Skip to content

Avoiding subsystem specific false positives #15

@groeck

Description

@groeck

I have a couple of subsystem specificc false positives to avoid. Specifically,

  • Hardware monitoring devices registered with
    devm_hwmon_device_register_with_info() or hwmon_device_register_with_info()
    provide locking in the hardware monitoring core. Locking within the driver
    is only necessary for attributes registers with the last parameter of the
    registration functions, or for interrupt handling if supported.

  • debugfs entries attached to the debugfs object in struct i2c_client do
    not have to be cleaned up; that is done by the i2c core.

What would be the proper place for such information ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions