Page MenuHomeFreeBSD

LinuxKPI: Add min_not_zero() to linux/minmax.h
ClosedPublic

Authored by wulf on Jun 2 2024, 3:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 24, 9:45 AM
Unknown Object (File)
Thu, Apr 24, 7:36 AM
Unknown Object (File)
Mar 31 2025, 9:19 PM
Unknown Object (File)
Mar 22 2025, 10:36 PM
Unknown Object (File)
Mar 21 2025, 10:44 AM
Unknown Object (File)
Mar 18 2025, 10:45 AM
Unknown Object (File)
Feb 9 2025, 9:58 PM
Unknown Object (File)
Jan 31 2025, 3:09 PM
Subscribers

Details

Reviewers
bz
manu
emaste
Summary

It returns the minimum that is not zero, except both equals to zero.

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58004
Build 54892: arc lint + arc unit

Event Timeline

wulf requested review of this revision.Jun 2 2024, 3:30 PM

I would fold this together with D45450 so that the referencing of the add/and #ifdef is together and one can see the "conflict" in git log/show in the future.

bnxt_re is not MFC-ed yet. So it is better to keep D45450 as different commit.

I'd planned on merging bnxt* stuff today.

Than I squash the revisions before committing them to the tree.

LGTM, I'm fine with squashing.

This revision is now accepted and ready to land.Jun 3 2024, 7:31 PM