[lkml]   [2018]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] rsi: Remove stack VLA usage
"Tobin C. Harding" <> writes:

> The kernel would like to have all stack VLA usage removed[1]. rsi uses
> a VLA based on 'blksize'. Elsewhere in the SDIO code maximum block size
> is defined using a magic number. We can use a pre-processor defined
> constant and declare the array to maximum size. We add a check before
> accessing the array in case of programmer error.
> [1]:
> Signed-off-by: Tobin C. Harding <>

Please CC linux-wireless list, otherwise patchwork won't see the patch
and I can't apply it.

Kalle Valo

 \ /
  Last update: 2018-03-09 11:37    [W:0.045 / U:5.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site