Page MenuHomeFreeBSD

linuxkpi: Implement atomic_dec_and_lock_irqsave()
ClosedPublic

Authored by nc on Apr 26 2021, 1:17 AM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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
168

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.