]> www.infradead.org Git - users/dwmw2/linux.git/commit
xtensa: ISS: don't allocate memory in platform_setup
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 6 Sep 2018 18:19:20 +0000 (11:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2018 06:39:34 +0000 (08:39 +0200)
commitb205f931b0c09cf1d9987f9a95ef80c07145b7cd
tree621ac4ea21b7885170c92edb6d1123ec9c638c75
parentf63dbd23e8a7d1d342c6dbe7033039326da2a5ed
xtensa: ISS: don't allocate memory in platform_setup

commit ef439d49e0bfb26cd5f03c88b4cb7cc9073ed30c upstream.

Memory allocator is not initialized at that point yet, use static array
instead.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/platforms/iss/setup.c