2011-01-11 19:20:45

by Mark Allyn

[permalink] [raw]
Subject: Why are there multiple defines of scatter_walk?


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
http://www.allyn.com
971-563-7588


2011-01-12 04:21:04

by Herbert Xu

[permalink] [raw]
Subject: Re: Why are there multiple defines of scatter_walk?

Mark Allyn <[email protected]> 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 such struct definition.

What version of Linux are you looking at?
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt