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, Nov 7, 2:15 AM
Unknown Object (File)
Oct 3 2024, 11:51 PM
Unknown Object (File)
Oct 1 2024, 6:43 AM
Unknown Object (File)
Oct 1 2024, 2:21 AM
Unknown Object (File)
Sep 30 2024, 6:36 AM
Unknown Object (File)
Sep 30 2024, 6:31 AM
Unknown Object (File)
Sep 27 2024, 2:12 PM
Unknown Object (File)
Sep 23 2024, 1:36 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