aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorWei Wang <wei.w.wang@intel.com>2018-08-16 15:50:57 +0800
committerMichael S. Tsirkin <mst@redhat.com>2018-08-22 00:56:24 +0300
commitc51d8fca0ce368c707fd090e0324f3ba40931d0a (patch)
tree174ba8c98a68e0138f53299f40d600d9e0ff94c8 /kernel/sys.c
parentvirtio-balloon: remove BUG() in init_vqs (diff)
downloadlinux-rng-c51d8fca0ce368c707fd090e0324f3ba40931d0a.tar.xz
linux-rng-c51d8fca0ce368c707fd090e0324f3ba40931d0a.zip
virtio-balloon: kzalloc the vb struct
Zero all the vb fields at alloaction, so that we don't need to zero-initialize each field one by one later. Signed-off-by: Wei Wang <wei.w.wang@intel.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions