Re: [PATCH] crypto: omap-des - make local functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/27/2014 05:34 AM, Jingoo Han wrote:
> Make omap_des_copy_needed(), omap_des_copy_sgs(), because these
> functions are used only in this file.
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Ok with me,
Acked-by: Joel Fernandes <joelf@xxxxxx>

> ---
>  drivers/crypto/omap-des.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c
> index 758919e..ec5f131 100644
> --- a/drivers/crypto/omap-des.c
> +++ b/drivers/crypto/omap-des.c
> @@ -535,7 +535,7 @@ static int omap_des_crypt_dma_stop(struct omap_des_dev *dd)
>  	return err;
>  }
>  
> -int omap_des_copy_needed(struct scatterlist *sg)
> +static int omap_des_copy_needed(struct scatterlist *sg)
>  {
>  	while (sg) {
>  		if (!IS_ALIGNED(sg->offset, 4))
> @@ -547,7 +547,7 @@ int omap_des_copy_needed(struct scatterlist *sg)
>  	return 0;
>  }
>  
> -int omap_des_copy_sgs(struct omap_des_dev *dd)
> +static int omap_des_copy_sgs(struct omap_des_dev *dd)
>  {
>  	void *buf_in, *buf_out;
>  	int pages;
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux