diff mbox series

[2/2] syscalls/mseal01.c: Use the correct "'" for JSON

Message ID 20240816045342.185737-2-ice_yangxiao@163.com
State Accepted
Headers show
Series [1/2] syscalls/landlock05.c: Remove useless tags | expand

Commit Message

Xiao Yang Aug. 16, 2024, 4:53 a.m. UTC
Fix the following warnings from metadata/metaparse:
data_storage.h:325: WARNING: invalid character for JSON: ffffffe2
data_storage.h:325: WARNING: invalid character for JSON: ffffff80
data_storage.h:325: WARNING: invalid character for JSON: ffffff99

Signed-off-by: Xiao Yang <ice_yangxiao@163.com>
---
 testcases/kernel/syscalls/mseal/mseal01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Li Wang Aug. 16, 2024, 7:01 a.m. UTC | #1
On Fri, Aug 16, 2024 at 12:54 PM Xiao Yang <ice_yangxiao@163.com> wrote:

> Fix the following warnings from metadata/metaparse:
> data_storage.h:325: WARNING: invalid character for JSON: ffffffe2
> data_storage.h:325: WARNING: invalid character for JSON: ffffff80
> data_storage.h:325: WARNING: invalid character for JSON: ffffff99
>
> Signed-off-by: Xiao Yang <ice_yangxiao@163.com>
>

Reviewed-by: Li Wang <liwang@redhat.com>

---
>  testcases/kernel/syscalls/mseal/mseal01.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/syscalls/mseal/mseal01.c
> b/testcases/kernel/syscalls/mseal/mseal01.c
> index 62cfdd6a6..00454a766 100644
> --- a/testcases/kernel/syscalls/mseal/mseal01.c
> +++ b/testcases/kernel/syscalls/mseal/mseal01.c
> @@ -16,7 +16,7 @@
>   * - modifying a VMA via mmap(MAP_FIXED)
>   * - mprotect() and pkey_mprotect()
>   * - destructive madvice() behaviors (e.g. MADV_DONTNEED) for anonymous
> memory,
> - *   when users don’t have write permission to the memory
> + *   when users don't have write permission to the memory
>   *
>   * Any of the described actions is recognized via EPERM errno.
>   *
> --
> 2.45.2
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
Xiao Yang Aug. 17, 2024, 4:43 a.m. UTC | #2
Hi Li,




Pushed. Thanks for your review.





Best Regards,

Xiao Yang





On 2024-08-16 15:01:53,"Li Wang" <liwang@redhat.com> wrote:





On Fri, Aug 16, 2024 at 12:54 PM Xiao Yang <ice_yangxiao@163.com> wrote:

Fix the following warnings from metadata/metaparse:
data_storage.h:325: WARNING: invalid character for JSON: ffffffe2
data_storage.h:325: WARNING: invalid character for JSON: ffffff80
data_storage.h:325: WARNING: invalid character for JSON: ffffff99

Signed-off-by: Xiao Yang <ice_yangxiao@163.com>



Reviewed-by: Li Wang <liwang@redhat.com>


---
 testcases/kernel/syscalls/mseal/mseal01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/mseal/mseal01.c b/testcases/kernel/syscalls/mseal/mseal01.c
index 62cfdd6a6..00454a766 100644
--- a/testcases/kernel/syscalls/mseal/mseal01.c
+++ b/testcases/kernel/syscalls/mseal/mseal01.c
@@ -16,7 +16,7 @@
  * - modifying a VMA via mmap(MAP_FIXED)
  * - mprotect() and pkey_mprotect()
  * - destructive madvice() behaviors (e.g. MADV_DONTNEED) for anonymous memory,
- *   when users don’t have write permission to the memory
+ *   when users don't have write permission to the memory
  *
  * Any of the described actions is recognized via EPERM errno.
  *
--
2.45.2


--
Mailing list info: https://lists.linux.it/listinfo/ltp





--

Regards,

Li Wang
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/mseal/mseal01.c b/testcases/kernel/syscalls/mseal/mseal01.c
index 62cfdd6a6..00454a766 100644
--- a/testcases/kernel/syscalls/mseal/mseal01.c
+++ b/testcases/kernel/syscalls/mseal/mseal01.c
@@ -16,7 +16,7 @@ 
  * - modifying a VMA via mmap(MAP_FIXED)
  * - mprotect() and pkey_mprotect()
  * - destructive madvice() behaviors (e.g. MADV_DONTNEED) for anonymous memory,
- *   when users don’t have write permission to the memory
+ *   when users don't have write permission to the memory
  *
  * Any of the described actions is recognized via EPERM errno.
  *