All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] scripts/checkpatch.pl: Replace kstrto with tst_parse_
@ 2021-11-30 10:43 Cyril Hrubis
  2021-12-01  7:10 ` Li Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2021-11-30 10:43 UTC (permalink / raw)
  To: ltp

Since there is no kstrto*() family of functions in LTP we do have
tst_parse_*() instead.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 87572b2f4..8c74d07b4 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -6891,7 +6891,7 @@ sub process {
 				if ($count == 1 &&
 				    $format =~ /^"\%(?i:ll[udxi]|[udxi]ll|ll|[hl]h?[udxi]|[udxi][hl]h?|[hl]h?|[udxi])"$/) {
 					WARN("SSCANF_TO_KSTRTO",
-					     "Prefer kstrto<type> to single variable sscanf\n" . "$here\n$stat_real\n");
+					     "Prefer tst_parse_<type> to single variable sscanf\n" . "$here\n$stat_real\n");
 				}
 			}
 		}
-- 
2.32.0


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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [LTP] [PATCH] scripts/checkpatch.pl: Replace kstrto with tst_parse_
  2021-11-30 10:43 [LTP] [PATCH] scripts/checkpatch.pl: Replace kstrto with tst_parse_ Cyril Hrubis
@ 2021-12-01  7:10 ` Li Wang
  2021-12-06  9:41   ` Richard Palethorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Li Wang @ 2021-12-01  7:10 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: LTP List


[-- Attachment #1.1: Type: text/plain, Size: 280 bytes --]

On Tue, Nov 30, 2021 at 6:42 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Since there is no kstrto*() family of functions in LTP we do have
> tst_parse_*() instead.
>
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
>

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

-- 
Regards,
Li Wang

[-- Attachment #1.2: Type: text/html, Size: 993 bytes --]

[-- Attachment #2: Type: text/plain, Size: 60 bytes --]


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] [PATCH] scripts/checkpatch.pl: Replace kstrto with tst_parse_
  2021-12-01  7:10 ` Li Wang
@ 2021-12-06  9:41   ` Richard Palethorpe
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Palethorpe @ 2021-12-06  9:41 UTC (permalink / raw)
  To: Li Wang; +Cc: ltp

Hi,

Thanks, puashed!

Li Wang <liwang@redhat.com> writes:

> On Tue, Nov 30, 2021 at 6:42 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
>  Since there is no kstrto*() family of functions in LTP we do have
>  tst_parse_*() instead.
>
>  Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
>
>  
> Reviewed-by: Li Wang <liwang@redhat.com>
>  
> -- 
> Regards,
> Li Wang


-- 
Thank you,
Richard.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-06  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 10:43 [LTP] [PATCH] scripts/checkpatch.pl: Replace kstrto with tst_parse_ Cyril Hrubis
2021-12-01  7:10 ` Li Wang
2021-12-06  9:41   ` Richard Palethorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.