From: Lidza Louina Date: Fri, 4 Oct 2013 16:18:30 +0000 (-0400) Subject: staging: dgnc: changes arguments in sizeof X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~458 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07bf39a65cb5eb4e38426afc7d5e00d560211da;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed