Changeset 615 for GPL/branches/uniaud32-next/include/linux/err.h
- Timestamp:
- Jan 1, 2021, 5:31:48 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/err.h
r305 r615 20 20 } 21 21 22 static inline int PTR_RET(const void *ptr) 23 { 24 if (IS_ERR(ptr)) 25 return PTR_ERR(ptr); 26 else 27 return 0; 28 } 29 30 #define PTR_ERR_OR_ZERO(p) PTR_RET(p) 22 31 #endif /* _LINUX_ERR_H */
Note:
See TracChangeset
for help on using the changeset viewer.