Re: [PATCH] ubifs: work around high stack usage with clang

2019-03-25 Thread Nick Desaulniers
On Sun, Mar 24, 2019 at 12:45 PM Arnd Bergmann wrote: > > Building this file with clang can result in large stack usage as seen from > this warning: > > fs/ubifs/auth.c:78:5: error: stack frame size of 1152 bytes in function > 'ubifs_prepare_auth_node' > > The problem is that inlining ubifs_hash_

[PATCH] ubifs: work around high stack usage with clang

2019-03-24 Thread Arnd Bergmann
Building this file with clang can result in large stack usage as seen from this warning: fs/ubifs/auth.c:78:5: error: stack frame size of 1152 bytes in function 'ubifs_prepare_auth_node' The problem is that inlining ubifs_hash_calc_hmac() leads to two SHASH_DESC_ON_STACK() blocks in the same fun