[LU-7705] gcc5 fails to build due to trivial warning Created: 25/Jan/16  Updated: 02/Feb/16  Resolved: 02/Feb/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: Lustre 2.8.0

Type: Improvement Priority: Trivial
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None
Environment:

gcc5


Rank (Obsolete): 9223372036854775807

 Description   

CC [M] /home/alexey/head2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.o
/home/alexey/head2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:73:55: error: ‘cfs_time_sub’ is static but used in inline function ‘round_timeout’ which is not static [-Werror]
return cfs_time_seconds((int)cfs_duration_sec(cfs_time_sub(timeout, 0)) + 1);



 Comments   
Comment by Gerrit Updater [ 25/Jan/16 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/18119
Subject: LDEV-285 ldlm: make round_timeout() static
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8a3370de24f05ab35d37378da4bc72f3ca100f29

Comment by Gerrit Updater [ 02/Feb/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/18119/
Subject: LU-7705 ldlm: make round_timeout() static
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bb32a147e35f3339832e41e045de68f304ce18cc

Comment by Alex Zhuravlev [ 02/Feb/16 ]

landed

Comment by Joseph Gmitter (Inactive) [ 02/Feb/16 ]

changing fixVersion to be accurate - landed for 2.8

Comment by Joseph Gmitter (Inactive) [ 02/Feb/16 ]

Landed for 2.8

Generated at Sat Feb 10 02:11:12 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.