Whamcloud - gitweb
LU-14093 llapi: remove ignored qualifier
authorDominique Martinet <asmadeus@codewreck.org>
Thu, 20 Jan 2022 00:28:45 +0000 (16:28 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 21 Jan 2022 23:17:20 +0000 (23:17 +0000)
commit3055151c6988fb528ebeed98861fca0f8f748f71
treeb9980ed103ce7128745097b44218077b90ef0429
parent8376613a73f3f32e712f50f5704fafa3c6895327
LU-14093 llapi: remove ignored qualifier

Fixes the following warning on newer gcc with -Wextra:
.../include/lustre/lustreapi.h:1000:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
 1000 | const __u16 llapi_layout_string_flags(char *string);
      | ^~~~~

As the parameter is ignored, this should make no code difference

Test-parameters: trivial

Lustre-change: https://review.whamcloud.com/43712
Lustre-commit: 90ee0457c9fb1da939558186961f346c917d678f

Change-Id: I049166bbc586007cdecc93225d508693607ef04e
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46213
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre/lustreapi.h
lustre/utils/liblustreapi_layout.c