summaryrefslogtreecommitdiff
path: root/arch/arc/plat-axs10x
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@mellanox.com>2016-07-28 19:07:04 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 12:45:50 (GMT)
commit069b188f43d9a44422eb35a8f95533d2c44ad315 (patch)
treefed6b8e65379cf74c34ba6901506c5f71d8a23c5 /arch/arc/plat-axs10x
parentacde785e492d6ce838f50937f7547124e0837a55 (diff)
downloadlinux-069b188f43d9a44422eb35a8f95533d2c44ad315.tar.xz
tile-srom: avoid krealloc(... __GFP_ZERO) pattern
Joe Perches points out [1] that this pattern isn't currently safe. This driver doesn't really need the zeroing semantic anyway; by restructuring the code slightly we can initialize all the fields of the structure up front instead. [1] https://lkml.kernel.org/r/1469729491.3998.58.camel@perches.com Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc/plat-axs10x')
0 files changed, 0 insertions, 0 deletions