Page MenuHomeFreeBSD

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

Authored by wulf on Sun, Jun 2, 3:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 14, 1:21 AM
Unknown Object (File)
Sat, Jun 8, 11:52 AM
Unknown Object (File)
Tue, Jun 4, 6:29 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.Sun, Jun 2, 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.Mon, Jun 3, 7:31 PM