public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used
@ 2012-01-03 11:12 Markos Chandras
  2012-01-03 19:41 ` Garrett Cooper
  2012-01-04 14:52 ` Cyril Hrubis
  0 siblings, 2 replies; 3+ messages in thread
From: Markos Chandras @ 2012-01-03 11:12 UTC (permalink / raw)
  To: ltp-list

[-- Attachment #1: Type: text/plain, Size: 50 bytes --]

Hi, please review the attached patch


-- 
markos

[-- Attachment #2: 0011-process_stress-process-Fix-dprt-function-definition-.patch --]
[-- Type: text/plain, Size: 1123 bytes --]

From ba7dc3499dc3e7389943345a3c042a2b6910b9eb Mon Sep 17 00:00:00 2001
From: Markos Chandras <markos.chandras@imgtec.com>
Date: Mon, 21 Nov 2011 10:24:12 +0000
Subject: [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 testcases/kernel/sched/process_stress/process.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/sched/process_stress/process.c b/testcases/kernel/sched/process_stress/process.c
index b7d68b8..a72c1bc 100644
--- a/testcases/kernel/sched/process_stress/process.c
+++ b/testcases/kernel/sched/process_stress/process.c
@@ -68,7 +68,7 @@
 #if defined _LINUX && defined DEBUG
 #define prtln()	printf("At line number: %d\n", __LINE__); \
 		fflush(NULL)
-#define dprt(fmt, args...) printf(fmt, args...)
+#define dprt(fmt, args...) printf(fmt, ## args)
 #else
 #define prtln()
 #define dprt(fmt, args...)
@@ -1210,4 +1210,4 @@ dprt("value of nodesum is initiallized to: %d\n", nodesum);
 	prtln();
 	return 0;
 
-}
\ No newline at end of file
+}
-- 
1.7.1


[-- Attachment #3: Type: text/plain, Size: 355 bytes --]

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* Re: [LTP] [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used
  2012-01-03 11:12 [LTP] [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used Markos Chandras
@ 2012-01-03 19:41 ` Garrett Cooper
  2012-01-04 14:52 ` Cyril Hrubis
  1 sibling, 0 replies; 3+ messages in thread
From: Garrett Cooper @ 2012-01-03 19:41 UTC (permalink / raw)
  To: Markos Chandras; +Cc: ltp-list

On Tue, Jan 3, 2012 at 3:12 AM, Markos Chandras
<Markos.Chandras@imgtec.com> wrote:
> Hi, please review the attached patch

Reviewed-by: Garrett Cooper <yanegomi@gmail.com>

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* Re: [LTP] [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used
  2012-01-03 11:12 [LTP] [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used Markos Chandras
  2012-01-03 19:41 ` Garrett Cooper
@ 2012-01-04 14:52 ` Cyril Hrubis
  1 sibling, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2012-01-04 14:52 UTC (permalink / raw)
  To: Markos Chandras; +Cc: ltp-list

Hi!
> Subject: [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used

Commited, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2012-01-04 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-03 11:12 [LTP] [PATCH 11/21] process_stress/process: Fix dprt() function definition when DEBUG macro is used Markos Chandras
2012-01-03 19:41 ` Garrett Cooper
2012-01-04 14:52 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox