]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: rtl8723bs: convert private allocation functions to return void *
authorJoe Perches <joe@perches.com>
Sat, 9 Sep 2017 20:14:52 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
commit35628c4ad0f3800d3744fd5d4b7315e51c5e407e
tree4f4163fbca9828e49673ccf76b6ef2ac0a12ea17
parent67af9094043dd064ec0c2cb0d84173cd9129cdc3
staging: rtl8723bs: convert private allocation functions to return void *

Using char * for a return from allocation functions means the
code has to cast generic allocations to specific types.

Allow the compiler to not need casts on the allocations.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/osdep_service.h
drivers/staging/rtl8723bs/os_dep/osdep_service.c