Page MenuHomeFreeBSD

linuxkpi: Implement atomic_dec_and_lock_irqsave()
ClosedPublic

Authored by nc on Apr 26 2021, 1:17 AM.
Tags
None
Referenced Files
F173638024: D29988.diff
Sun, Sep 27, 9:05 AM
Unknown Object (File)
Mon, Sep 14, 10:27 PM
Unknown Object (File)
Mon, Sep 14, 4:55 AM
Unknown Object (File)
Wed, Sep 9, 3:31 AM
Unknown Object (File)
Sun, Sep 6, 1:22 PM
Unknown Object (File)
Sat, Sep 5, 8:24 PM
Unknown Object (File)
Fri, Sep 4, 11:15 AM
Unknown Object (File)
Wed, Sep 2, 1:10 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

nc requested review of this revision.Apr 26 2021, 1:17 AM
• hselasky added a subscriber: • hselasky.
• hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/spinlock.h
169

Don't need brackets around this return.

This revision is now accepted and ready to land.Apr 26 2021, 7:37 AM

Same comment as Hans :)
And please bump FreeBSD_version so we can check this in the drm-devel-kmod in the near futur.

This revision was automatically updated to reflect the committed changes.
sys/compat/linuxkpi/common/include/linux/spinlock.h
173

Parenthesis around return result is fine.