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)
Mon, Sep 29, 4:10 PM
Unknown Object (File)
Sat, Sep 27, 6:30 PM
Unknown Object (File)
Wed, Sep 17, 10:02 PM
Unknown Object (File)
Wed, Sep 17, 5:12 AM
Unknown Object (File)
Sep 7 2025, 6:24 AM
Unknown Object (File)
Sep 6 2025, 10:42 PM
Unknown Object (File)
Sep 6 2025, 5:59 AM
Unknown Object (File)
Sep 4 2025, 4:50 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