diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-05-09 08:58:32 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-16 11:07:09 +0200 |
commit | ab83407e9ee35a4972457aa487be6a7a21afd715 (patch) | |
tree | 9429b3019046226083c85dd9867304aca1b0ca08 /crypto/scatterwalk.h | |
parent | pktcdvd: don't rely on bio_init() preserving bio->bi_destructor (diff) | |
download | linux-ab83407e9ee35a4972457aa487be6a7a21afd715.tar.xz linux-ab83407e9ee35a4972457aa487be6a7a21afd715.zip |
crypto: don't pollute the global namespace with sg_next()
It's a subsystem function, prefix it as such.
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto/scatterwalk.h')
-rw-r--r-- | crypto/scatterwalk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/scatterwalk.h b/crypto/scatterwalk.h index 500a220ad908..9c73e37a42ce 100644 --- a/crypto/scatterwalk.h +++ b/crypto/scatterwalk.h @@ -20,7 +20,7 @@ #include "internal.h" -static inline struct scatterlist *sg_next(struct scatterlist *sg) +static inline struct scatterlist *scatterwalk_sg_next(struct scatterlist *sg) { return (++sg)->length ? sg : (void *)sg->page; } |