aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorGravatar Heiko Carstens <hca@linux.ibm.com> 2024-05-06 21:44:52 +0200
committerGravatar Alexander Gordeev <agordeev@linux.ibm.com> 2024-05-14 20:21:03 +0200
commit3bbde49ec560f95b2b09b9cedd0c41ae95ecb92c (patch)
treefcabaf099f9ea17f36fdb1c371bc17ba7bf2470f /drivers/tty
parents390/netiucv: Make use of iucv_alloc_device() (diff)
downloadlinux-3bbde49ec560f95b2b09b9cedd0c41ae95ecb92c.tar.gz
linux-3bbde49ec560f95b2b09b9cedd0c41ae95ecb92c.tar.bz2
linux-3bbde49ec560f95b2b09b9cedd0c41ae95ecb92c.zip
s390/smsgiucv_app: Make use of iucv_alloc_device()
Make use of iucv_alloc_device() to get rid of quite some code. In addition this also removes a cast to an incompatible function (clang W=1): drivers/s390/net/smsgiucv_app.c:176:26: error: cast from 'void (*)(const void *)' to 'void (*)(struct device *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict] 176 | smsg_app_dev->release = (void (*)(struct device *)) kfree; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Nathan Chancellor <nathan@kernel.org> Closes: https://lore.kernel.org/r/20240417-s390-drivers-fix-cast-function-type-v1-2-fd048c9903b0@kernel.org Acked-by: Alexandra Winter <wintera@linux.ibm.com> Link: https://lore.kernel.org/r/20240506194454.1160315-5-hca@linux.ibm.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions