Commit 10564f2
Andrei Simion
crypto: atmel-aes: Fixes for upstream
Fix checkpatch.pl and implicit warning fallthrough.
Add fallthrough macro to specify the compiler
that is an intentional fall-through case.
drivers/crypto/atmel-aes.c: In function ‘atmel_aes_get_cap’:
drivers/crypto/atmel-aes.c:2563:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
2563 | dd->caps.has_6words_limitation = 1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
drivers/crypto/atmel-aes.c:2564:9: note: here
2564 | case 0x500:
| ^~~~
Fix checkpatch.pl warnings
WARNING: 'suppport' may be misspelled - perhaps 'support'?
FILE: drivers/crypto/atmel-aes.c:92
WARNING: line length of 103 exceeds 100 columns
FILE: drivers/crypto/atmel-aes.c:2138:
+ crypto_aead_set_flags(ctx->fallback, crypto_aead_get_flags(tfm) & CRYPTO_TFM_REQ_MASK)
Fixes: 4ade590 ("crypto: atmel-aes: Add fallback for unsupported ESP header length")
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Reviewed-by: Cristian Birsan <cristian.birsan@microchip.com>1 parent 4ade590 commit 10564f2
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
2135 | 2135 | | |
2136 | 2136 | | |
2137 | 2137 | | |
2138 | | - | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
2139 | 2141 | | |
2140 | 2142 | | |
2141 | 2143 | | |
| |||
2561 | 2563 | | |
2562 | 2564 | | |
2563 | 2565 | | |
| 2566 | + | |
2564 | 2567 | | |
2565 | 2568 | | |
2566 | 2569 | | |
| |||
0 commit comments