Linux Container Development
 help / color / mirror / Atom feed
* [PATCH 1/2] m_type is long, not int
@ 2010-01-13  4:09 serue-r/Jw6+rmf7HQT0dZR+AlfA
       [not found] ` <1263355761-17112-1-git-send-email-serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: serue-r/Jw6+rmf7HQT0dZR+AlfA @ 2010-01-13  4:09 UTC (permalink / raw)
  To: Oren Laadan; +Cc: containers-qjLDD68F18O7TbgM5vRIOg

From: Serge Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

So make sure we store a field big enough on 64-bit arch.

Signed-off-by: Serge Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/checkpoint_hdr.h b/include/linux/checkpoint_hdr.h
index 314d967..a80dcdc 100644
--- a/include/linux/checkpoint_hdr.h
+++ b/include/linux/checkpoint_hdr.h
@@ -977,7 +977,7 @@ struct ckpt_hdr_ipc_msg {
 
 struct ckpt_hdr_ipc_msg_msg {
 	struct ckpt_hdr h;
-	__s32 m_type;
+	__s64 m_type;
 	__u32 m_ts;
 	__s32 sec_ref;
 } __attribute__((aligned(8)));
-- 
1.6.0.6

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

end of thread, other threads:[~2010-01-20 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13  4:09 [PATCH 1/2] m_type is long, not int serue-r/Jw6+rmf7HQT0dZR+AlfA
     [not found] ` <1263355761-17112-1-git-send-email-serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-01-13  4:09   ` [PATCH 2/2] sem restore: don't free sma if it's an error serue-r/Jw6+rmf7HQT0dZR+AlfA
     [not found]     ` <1263355761-17112-2-git-send-email-serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-01-13 19:41       ` Serge E. Hallyn
     [not found]         ` <20100113194121.GA26938-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-01-13 20:17           ` Serge E. Hallyn
2010-01-20 17:01   ` [PATCH 1/2] m_type is long, not int Oren Laadan

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