Remove the unused but set variable tfm in cryptd_enqueue_request to fix
the following warning when building with 'W=1':
crypto/cryptd.c:125:21: warning: variable 'tfm' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Tobias Klauser
---
crypto/cryptd.c | 2 -
ve the now unused variable pd which is only used to set pinst.
Signed-off-by: Tobias Klauser
---
kernel/padata.c | 4
1 file changed, 4 deletions(-)
diff --git a/kernel/padata.c b/kernel/padata.c
index 7848f0566403..05316c9f32da 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -64
On 2014-07-17 at 11:18:15 +0200, Theodore Ts'o wrote:
[...]
> +/*
> + * Flags for getrandom(2)
> + *
> + * GAND_BLOCKAllow getrandom(2) to block
> + * GAND_RANDOM Use the /dev/random pool instead of /dev/urandom
> + */
Very minor nitpick: These should probably read
Use the resource_size function instead of manually calculating the
resource size. This reduces the chance of introducing off-by-one errors.
Signed-off-by: Tobias Klauser
---
drivers/crypto/mv_cesa.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto