[LU-8181] lov_verify_lmm() wrong format for the argument type Created: 22/May/16 Updated: 17/Mar/21 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | easy | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
In lov_verify_lmm() we have: sprintf(buffer+2*i, "%.2X", ((char *)lmm)[i]); This produces a warning since we only reference char, but assume int in the format. |
| Comments |
| Comment by Arshad Hussain [ 17/Mar/21 ] |
|
Hi Oleg, This is not valid anymore and could be closed.
$ find . -type f -name "*.[ch]" | xargs grep -i lov_verify_lmm | wc
0 0 0
|