Re: Why are there multiple defines of scatter_walk?

2011-01-11 Thread Herbert Xu
Mark Allyn wrote: > > I notice two defines of struct scatter_walk; one at line 20 of > include/crypto/scatterwalk.h and the other at line 74 of > include/crypto/algapi.h > > They are not the same. Why? > > Which one does a driver supposed to include? In my copy of scatterwalk.h there is no s

Disregard my last question I found out the answer

2011-01-11 Thread Mark Allyn
Truly, Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Why are there multiple defines of scatter_walk?

2011-01-11 Thread Mark Allyn
I notice two defines of struct scatter_walk; one at line 20 of include/crypto/scatterwalk.h and the other at line 74 of include/crypto/algapi.h They are not the same. Why? Which one does a driver supposed to include? Thanks Mark Allyn Portland, Oregon www.allyn.com 971-563-7588 -- To unsub

Re: [PATCH 01/16] crypto: omap-aes: don't treat NULL clk as an error

2011-01-11 Thread Aaro Koskinen
Hi, On Tue, 11 Jan 2011, Jamie Iles wrote: clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Cc: Dmitry Kasatkin Cc: linux-crypto@vger.kernel.org Sig

Re: [PATCH 02/16] crypto: omap-sham: don't treat NULL clk as an error

2011-01-11 Thread Aaro Koskinen
Hi, On Tue, 11 Jan 2011, Jamie Iles wrote: clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Cc: Dmitry Kasatkin Cc: linux-crypto@vger.kernel.org Sig

[PATCH 01/16] crypto: omap-aes: don't treat NULL clk as an error

2011-01-11 Thread Jamie Iles
clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Cc: Dmitry Kasatkin Cc: linux-crypto@vger.kernel.org Signed-off-by: Jamie Iles --- drivers/crypto/oma

[PATCH 02/16] crypto: omap-sham: don't treat NULL clk as an error

2011-01-11 Thread Jamie Iles
clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Cc: Dmitry Kasatkin Cc: linux-crypto@vger.kernel.org Signed-off-by: Jamie Iles --- drivers/crypto/oma