Re: ALIGN at crypt/cipher.c

2005-07-15 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Fri, 15 Jul 2005 12:27:56 +1000 > On Thu, Jul 14, 2005 at 02:36:16PM +, Ken-ichirou MATSUZAWA wrote: > > > > No, I think I can understand. align should be unsigned long too. > > After changing align to unsigned long from int, it works fine. > > Than

Re: ALIGN at crypt/cipher.c

2005-07-14 Thread Herbert Xu
On Thu, Jul 14, 2005 at 02:36:16PM +, Ken-ichirou MATSUZAWA wrote: > > No, I think I can understand. align should be unsigned long too. > After changing align to unsigned long from int, it works fine. Thanks for pin-pointing the problem Matsuzawa-san. The following patch implements your sugg

Re: ALIGN at crypt/cipher.c

2005-07-14 Thread Ken-ichirou MATSUZAWA
I am sorry for my sending many times with a trifle. From: Ken-ichirou MATSUZAWA <[EMAIL PROTECTED]> Subject: Re: ALIGN at crypt/cipher.c Date: Thu, 14 Jul 2005 22:59:35 +0900 (JST) > Is ``notl 32bit reg'' right? Is this a problem of gcc? No, I think I can understand. align

Re: ALIGN at crypt/cipher.c

2005-07-14 Thread Ken-ichirou MATSUZAWA
Hello, I can't understand asm so would you help to see things going well? I changed crypto_init_cipher_ops() in crypt/cipher.c # thanks to ``HOWTO find oops location'' ops->cit_ivsize = crypto_tfm_alg_blocksize(tfm); align = crypto_tfm_alg_alignmask(tfm) + 1; asm("#1"); addr = (

Re: ALIGN at crypt/cipher.c

2005-07-13 Thread Herbert Xu
Ken-ichirou MATSUZAWA <[EMAIL PROTECTED]> wrote: > Hello, I was sorry for my less information. > > From: Andi Kleen <[EMAIL PROTECTED]> > Subject: Re: ALIGN at crypt/cipher.c > Date: Mon, 11 Jul 2005 18:35:31 +0200 > >> > $ uname -a >> > Linux t

Re: ALIGN at crypt/cipher.c

2005-07-12 Thread Ken-ichirou MATSUZAWA
Hello, I was sorry for my less information. From: Andi Kleen <[EMAIL PROTECTED]> Subject: Re: ALIGN at crypt/cipher.c Date: Mon, 11 Jul 2005 18:35:31 +0200 > > $ uname -a > > Linux toptor 2.6.13-rc2-git1 #8 SMP Tue Jul 12 00:10:46 JST 2005 x86_64 > > GNU/Linux > &g