OSDN Git Service

Staging: ozwpan: Change kmalloc() to kzalloc()
authorSalym Senyonga <salymsash@gmail.com>
Sat, 25 Jan 2014 09:54:41 +0000 (12:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:59:38 +0000 (10:59 -0800)
commite4b41af14d7dc683ecd84a10fed8ea38b94f0f28
tree6fa4af9dfe99d59ed021f12dce712c34fe65e976
parenta44755d88c1ac17549da59f97428f9204ba1bd5e
Staging: ozwpan: Change kmalloc() to kzalloc()

changing to kzalloc lets us get rid of some lines. The other concern
here is that some members of binding->ptype are still uninitialized at
the end of the function.

Signed-off-by: Salym Senyonga <salymsash@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozproto.c