[LU-13723] Use ERR_CAST() instead of ERR_PTR(PTR_ERR()) Created: 27/Jun/20 Updated: 04/Jul/20 Resolved: 04/Jul/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Arshad Hussain | Assignee: | Arshad Hussain |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Use ERR_CAST() instead of ERR_PTR(PTR_ERR()). This fixes this warning thrown by coccinelle |
| Comments |
| Comment by Gerrit Updater [ 27/Jun/20 ] |
|
Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: https://review.whamcloud.com/39204 |
| Comment by Gerrit Updater [ 04/Jul/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39204/ |
| Comment by Peter Jones [ 04/Jul/20 ] |
|
Landed for 2.14 |