Message ID | 1496314993-30229-3-git-send-email-gilad@benyossef.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show |
On Thu, Jun 01, 2017 at 02:02:52PM +0300, Gilad Ben-Yossef wrote: > CC_CTX_SIZE was being defined using a hand rolled bit shift operation. > Replace with use of BIT macro. > > Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> > --- > drivers/staging/ccree/cc_crypto_ctx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This patch didn't apply at all, are you sure you are working against the correct tree? I've tried to apply some of this series, but most do not work at all... Please rebase against my staging-next branch and resend the ones that do work. thanks, greg k-h
On Sat, Jun 3, 2017 at 11:46 AM, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote: > On Thu, Jun 01, 2017 at 02:02:52PM +0300, Gilad Ben-Yossef wrote: >> CC_CTX_SIZE was being defined using a hand rolled bit shift operation. >> Replace with use of BIT macro. >> >> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> >> --- >> drivers/staging/ccree/cc_crypto_ctx.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > This patch didn't apply at all, are you sure you are working against the > correct tree? I've tried to apply some of this series, but most do not > work at all... > Yes, I did. The patch series was created against your staging/staging-next at commit ca9280d1f82a7a0165a683dc09f182329ebec352 What I believe might have happened is that you took in Gennadii Altukhov's and Derek Robson's patch set and mine indeed no longer applies on top of theirs. > Please rebase against my staging-next branch and resend the ones that do > work. Sure, I'll rebase on top of current staging/staging-next and resend the remaining patches Thanks, Gilad
diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h index 9bfadb21..18c15fc 100644 --- a/drivers/staging/ccree/cc_crypto_ctx.h +++ b/drivers/staging/ccree/cc_crypto_ctx.h @@ -27,7 +27,7 @@ #define CC_CTX_SIZE_LOG2 7 #endif #endif -#define CC_CTX_SIZE (1<<CC_CTX_SIZE_LOG2) +#define CC_CTX_SIZE BIT(CC_CTX_SIZE_LOG2) #define CC_DRV_CTX_SIZE_WORDS (CC_CTX_SIZE >> 2) #define CC_DRV_DES_IV_SIZE 8
CC_CTX_SIZE was being defined using a hand rolled bit shift operation. Replace with use of BIT macro. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> --- drivers/staging/ccree/cc_crypto_ctx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)