[PATCH] crypto: cleanup: Use max() in blkcipher_get_spot() to state the
intention.
Signed-off-by: Ingo Oeser <[EMAIL PROTECTED]>
---
Hi Herbert,
here is the requested patch against Linus' latest tree.
It at least compiles.
Best Regards
Ingo Oeser
crypto/blkcipher.c |2 +-
1 files change
We can also do direct function call of ipsec_xsm or ipsec_rsm instead of using
tasklet.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eran Ben-Avi
Sent: Thursday, August 30, 2007 2:58 AM
To: David McCullough
Cc: linux-crypto@vger.kernel.org
Subject: Re
On Mon, Sep 10, 2007 at 09:46:46PM +0200, Ingo Oeser wrote:
>
> What about using max() for this to make your intention obvious?
>
> static inline u8 *blkcipher_get_spot(u8 *start, unsigned int len)
> {
> u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) & PAGE_MASK);
> return m