Skip to content

Conversation

Defenso-QTH
Copy link
Contributor

All sysctls except thermal sensor readings and handlerevents whitelist-separated string are bitmasks or small integers. This avoids some bitmasks being erroneously displayed as negative values.

Copy link

github-actions bot commented Aug 27, 2025

Thank you for taking the time to contribute to FreeBSD!
All issues resolved.

All sysctls except thermal sensor readings and the handlerevents
whitelist-separated string are bitmasks or small integers. This avoids some
bitmasks being erroneously displayed as negative values.

Signed-off-by: Quentin Thébault <[email protected]>
@kprovost
Copy link
Contributor

Should we also change acpi_ibm_sysctl()'s 'arg' variable to be unsigned?

@gmshake
Copy link
Contributor

gmshake commented Aug 27, 2025

The function acpi_ibm_sysctl_get() which is called by acpi_ibm_sysctl() returns -1 in some cases. I think it needs more revising if change it to return unsigned int.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants