[LU-13236] Failed to build net_fault.c on ubuntu 5.3 kernel Created: 11/Feb/20  Updated: 12/Feb/20  Resolved: 12/Feb/20

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

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13210 Build failure with gcc8 -Werror=impli... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Hit following build failure on b2_12, we've applied LU-12635 patches, but this looks like a leftover from that ticket.

/lnet/lnet/net_fault.c:689:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
lnet_ni_recv(ni, msg->msg_private, msg, 0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0, msg->msg_len, msg->msg_len);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/lnet/lnet/net_fault.c:691:4: note: here
case LNET_CREDIT_WAIT:
^~~~



 Comments   
Comment by Gerrit Updater [ 11/Feb/20 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37536
Subject: LU-13236 lnet: fix build faiure in net_fault.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 157c8968dcf30aa7eb58045628a69c8e2dac1024

Comment by Wang Shilong (Inactive) [ 12/Feb/20 ]

Duplicated with existed patch: https://review.whamcloud.com/#/c/37466

Since that patch has been ready to land, let's use that one instead.

Comment by Andreas Dilger [ 12/Feb/20 ]

Use "Resolve" instead of "Close" to close issues.

Comment by Wang Shilong (Inactive) [ 12/Feb/20 ]

Thanks, i was not aware of that.

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