-
由 Petr Mladek 提交于
The "leak" pointer, in the sample of shadow variable API, is allocated as sizeof(int). Let's help developers and static analyzers with understanding the code by using the appropriate pointer type. Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NPetr Mladek <pmladek@suse.com> Reviewed-by: NJoe Lawrence <joe.lawrence@redhat.com> Acked-by: NMiroslav Benes <mbenes@suse.cz> Reviewed-by: NKamalesh Babulal <kamalesh@linux.vnet.ibm.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
8f6b8866