summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@mellanox.com>2016-07-28 22:07:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-30 15:45:50 +0300
commit069b188f43d9a44422eb35a8f95533d2c44ad315 (patch)
treefed6b8e65379cf74c34ba6901506c5f71d8a23c5 /drivers/hv
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 'drivers/hv')
0 files changed, 0 insertions, 0 deletions