Re: [PATCH] "signed long" -> "long"

2006-01-17 Thread Ingo Oeser
Kris Katterjohn wrote: > I learned C with K&R (ANSI) and it says: C99 seems to be the standard used in kernel. It clarifies much and aligns with real machines in many cases. Regards Ingo Oeser - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL

Re: [PATCH] "signed long" -> "long"

2006-01-14 Thread Pete Zaitcev
On Sat, 14 Jan 2006 18:23:19 +0100, Lennert Buytenhek <[EMAIL PROTECTED]> wrote: > On Sat, Jan 14, 2006 at 08:23:41AM -0800, Kris Katterjohn wrote: > > > This changes "signed long" to "long". > > Hmmm, is 'long' guaranteed to be signed? Yes, it is. Only char can be signed or unsigned depending.

Re: [PATCH] "signed long" -> "long"

2006-01-14 Thread Kris Katterjohn
From: Al Viro Sent: 1/14/2006 10:25:34 AM > On Sat, Jan 14, 2006 at 09:38:44AM -0800, Kris Katterjohn wrote: > > From: Lennert Buytenhek > > Sent: 1/14/2006 9:23:19 AM > > > Hmmm, is 'long' guaranteed to be signed? > > > > > > --L > > > > All integral types are except "char". > > That would get

Re: [PATCH] "signed long" -> "long"

2006-01-14 Thread Al Viro
On Sat, Jan 14, 2006 at 09:38:44AM -0800, Kris Katterjohn wrote: > From: Lennert Buytenhek > Sent: 1/14/2006 9:23:19 AM > > > On Sat, Jan 14, 2006 at 08:23:41AM -0800, Kris Katterjohn wrote: > > > > > This changes "signed long" to "long". > > > > Hmmm, is 'long' guaranteed to be signed? > > > >

Re: [PATCH] "signed long" -> "long"

2006-01-14 Thread Kris Katterjohn
From: Lennert Buytenhek Sent: 1/14/2006 9:23:19 AM > On Sat, Jan 14, 2006 at 08:23:41AM -0800, Kris Katterjohn wrote: > > > This changes "signed long" to "long". > > Hmmm, is 'long' guaranteed to be signed? > > --L All integral types are except "char". Kris - To unsubscribe from this list: s

Re: [PATCH] "signed long" -> "long"

2006-01-14 Thread Lennert Buytenhek
On Sat, Jan 14, 2006 at 08:23:41AM -0800, Kris Katterjohn wrote: > This changes "signed long" to "long". Hmmm, is 'long' guaranteed to be signed? --L - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://

[PATCH] "signed long" -> "long"

2006-01-14 Thread Kris Katterjohn
This changes "signed long" to "long". Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> Thanks! --- x/net/dccp/ackvec.c 2006-01-14 09:58:35.0 -0600 +++ y/net/dccp/ackvec.c 2006-01-14 10:17:24.0 -0600 @@ -144,7 +144,7 @@ static inline int dccp_ackvec_set_buf_he