Use PTR_ERR where appropriate instead of a plain cast. Reduces diffs to Linux.
Use PTR_ERR where appropriate instead of a plain cast.
Reduces diffs to Linux.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars