[PATCH] scripts : sync the var type between memory and print

2018-04-17 Thread Wenle Chen
From: Wenle Chen The %d in printf need get a int But the real type of these vars is unsigned. It may let some compilers show a warning. Signed-off-by: Wenle Chen --- scripts/recordmcount.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/recordmcount.c b/sc

Re: [PATCH] scripts : sync the var type between memory and print

2018-04-07 Thread Steven Rostedt
On Sat, 7 Apr 2018 18:01:35 +0800 Wenle Chen wrote: > From: Wenle Chen > > The %d in printf need get a int > But the real type of these vars is unsigned. > It may let some compilers show a warning. Thanks but the merge window is currently open. It's best to not send patches during it. Ple

[PATCH] scripts : sync the var type between memory and print

2018-04-07 Thread Wenle Chen
From: Wenle Chen The %d in printf need get a int But the real type of these vars is unsigned. It may let some compilers show a warning. Signed-off-by: Wenle Chen --- scripts/recordmcount.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/recordmcount.c b/sc