<div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> --- a/include/tst_test.h<br>
> +++ b/include/tst_test.h<br>
> @@ -259,7 +259,7 @@ struct tst_test {<br>
> * NULL terminated array of (/proc, /sys) files to save<br>
> * before setup and restore after cleanup<br>
> */<br>
> - const char * const *save_restore;<br>
> + const struct tst_path_val const *save_restore;<br>
Ci complains about duplicate const see the following url<br>
<a href="https://github.com/linux-test-project/ltp/runs/5491806027?check_suite_focus=true#step:10:19" rel="noreferrer" target="_blank">https://github.com/linux-test-project/ltp/runs/5491806027?check_suite_focus=true#step:10:19</a><br>
<br>
How about using const struct tst_path_val *save_restore like<br>
other struct pointer( struct tst_cap *caps, const struct tst_tag *tags)?<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Yes, good catch. Can you send a patch to fix the compiling issue or I do that?</div><div class="gmail_default" style="font-size:small"><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>