Re: [PATCH 0/2] remove nx842.h from include/linux
From: Herbert Xu
Date: Mon Jun 15 2015 - 06:19:29 EST
On Fri, Jun 12, 2015 at 10:58:45AM -0400, Dan Streetman wrote:
> Now that the crypto/842.c driver does only software 842 comp/decomp,
> and the hardware crypto compressor for 842-nx is located in
> drivers/crypto/nx with the NX 842 hw driver, there's no reason for
> the nx842.h header to be located in include/linux/ anymore; nobody
> should use the NX 842 hw driver directly, everyone should use the
> crypto compression API.
>
> The first patch moves the contents of include/linux/nx842.h into the
> existing drivers/crypto/nx/nx-842.h header file. The second patch
> replaces the use of the NX842_MEM_COMPRESS define, since the 842-nx
> crypto compression driver can directly get the required working
> memory size from the NX 842 hw driver.
>
> This cleans up include/linux/ by 1 file, and it saves some memory
> by reducing the 842-nx working memory size down to exactly what the
> NX 842 platform driver requires.
>
> Dan Streetman (2):
> crypto: move include/linux/nx842.h into drivers/crypto/nx/nx-842.h
> crypto: replace NX842_MEM_COMPRESS with function
Both applied.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/