Skip to contentSkip to conversation

fix a build error.

PATCH In review Bian Naimeng 3 participants 3 messages Nov 1, 2010 – Nov 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix a build error.

A build error is catched after applied commit da908058635ca58caf3e85814f2eba68febad1e1.

--------------
Fix build error of kernel/syscalls/keyctl category.

---
 testcases/kernel/syscalls/keyctl/keyctl01.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
testcases/kernel/syscalls/keyctl/keyctl01.c +3 -0
index 0d3dc77..b8ab30e 100644
@@ -38,10 +38,13 @@
 /*	      Manas Kumar Nayak [email protected]>			*/
 /******************************************************************************/
 
+#include <sys/types.h>
 #include <linux/keyctl.h>
 #include <errno.h>
 #include <limits.h>
 #include <stdio.h>
+#include <keyutils.h>
+
 /* Harness Specific Include Files. */
 #include "test.h"
 #include "usctest.h"
Signature · 19 lines
1.7.0.4



-- 
Regards
Bian Naimeng


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 6 lines · Bian Naimeng

A build error is catched after applied commit da908058635ca58caf3e85814f2eba68febad1e1.

--------------
Fix build error of kernel/syscalls/keyctl category.

Hi Garrett,

Seems this patch has been applied, I think you'd better add the "Signed-off-by" who posted this patch. ;)

Thanks,
Gui

Quoted 13 lines
---
 testcases/kernel/syscalls/keyctl/keyctl01.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
testcases/kernel/syscalls/keyctl/keyctl01.c +0 -0
index 0d3dc77..b8ab30e 100644
@@ -38,10 +38,13 @@
 /*	      Manas Kumar Nayak [email protected]>			*/
 /******************************************************************************/
 

testcases/kernel/syscalls/keyctl/keyctl01.c line 50

Quoted 10 lines
testcases/kernel/syscalls/keyctl/keyctl01.c +3 -0
+#include <sys/types.h>
 #include <linux/keyctl.h>
 #include <errno.h>
 #include <limits.h>
 #include <stdio.h>
+#include <keyutils.h>
+
 /* Harness Specific Include Files. */
 #include "test.h"
 #include "usctest.h"

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 29 lines · Gui Jianfeng
Quoted 6 lines · Bian Naimeng

A build error is catched after applied commit da908058635ca58caf3e85814f2eba68febad1e1.

--------------
Fix build error of kernel/syscalls/keyctl category.

Hi Garrett,

Seems this patch has been applied, I think you'd better add the "Signed-off-by" who posted this patch. ;)

Thanks,
Gui

Quoted 13 lines

---
 testcases/kernel/syscalls/keyctl/keyctl01.c |    3 +++

 1 files changed, 3 insertions(+), 0 deletions(-)
testcases/kernel/syscalls/keyctl/keyctl01.c +0 -0
index 0d3dc77..b8ab30e 100644
@@ -38,10 +38,13 @@
  /*         Manas Kumar Nayak [email protected]>                    */
  /******************************************************************************/
 
Quoted 10 lines

testcases/kernel/syscalls/keyctl/keyctl01.c line 50

Quoted 10 lines
testcases/kernel/syscalls/keyctl/keyctl01.c +3 -0
+#include <sys/types.h>
  #include <linux/keyctl.h>
  #include <errno.h>
  #include <limits.h>
  #include <stdio.h>
+#include <keyutils.h>
+
  /* Harness Specific Include Files. */
  #include "test.h"
  #include "usctest.h"

Yes! Full credit goes to Gui, Bian, Subrata, and Tamamori-san for noting the issue and stupid me for not noticing it sooner :(...

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list