On Fri, 2016-04-15 at 19:00 +0200, Denys Vlasenko wrote: > Four instances of incorrect usage of non-static "inline" crept up > in arch/x86, all trivial; cleaning them up:
Thanks and trivia: > diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c > b/arch/x86/crypto/sha-mb/sha1_mb.c [] > @@ -102,14 +102,14 @@ static asmlinkage struct job_sha1* > (*sha1_job_mgr_submit)(struct sha1_mb_mgr *st [] > -inline uint32_t sha1_pad(uint8_t padblock[SHA1_BLOCK_SIZE * 2], > +static inline uint32_t sha1_pad(uint8_t padblock[SHA1_BLOCK_SIZE * 2], > uint32_t total_len) It'd be good to reindent the multi-line statements at the same time.