commit | a07bf39a65cb5eb4e38426afc7d5e00d560211da | [log] [tgz] |
---|---|---|
author | Lidza Louina <lidza.louina@gmail.com> | Fri Oct 04 12:18:30 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 05 17:52:58 2013 -0700 |
tree | 3f0cc0e7031574a2097f32a23372232ea44d68cf | |
parent | 8159fd1be0f04c3cf11098942f277dc0f1239159 [diff] |
staging: dgnc: changes arguments in sizeof The arguments that were passed into sizeof were generic. This patch changes this by putting the actual item that we need a size of instead. For example: - kzalloc(sizeof(struct dgnc_board), GFP_KERNEL); + kzalloc(sizeof(*brd), GFP_KERNEL); Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>