[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
Subject: LU-13723 lustre: Convert ERR_PTR(PTR_ERR()) to ERR_CAST()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2af5b6187922b4b908ea8041c3d3de1b1bcd3aba

Comment by Gerrit Updater [ 04/Jul/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39204/
Subject: LU-13723 lustre: Convert ERR_PTR(PTR_ERR()) to ERR_CAST()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 593d02f2245d941f2ea0ac847aa2de215c83187e

Comment by Peter Jones [ 04/Jul/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:03:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.