diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-05-06 21:44:51 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-05-14 20:21:03 +0200 |
commit | 968bfb566dd193f912ccab47aaa50f3112f6f82d (patch) | |
tree | fa3da2f11043516b64eea8c1e07a2c6e79ce639a /io_uring/io-wq.c | |
parent | 4ee55c956325f5b28a23c5916bfd8372042702b3 (diff) | |
download | linux-968bfb566dd193f912ccab47aaa50f3112f6f82d.tar.gz linux-968bfb566dd193f912ccab47aaa50f3112f6f82d.tar.bz2 linux-968bfb566dd193f912ccab47aaa50f3112f6f82d.zip |
s390/netiucv: 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/netiucv.c:1716:18: error: cast from 'void (*)(const void *)' to 'void (*)(struct device *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
1716 | 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-3-fd048c9903b0@kernel.org
Acked-by: Alexandra Winter <wintera@linux.ibm.com>
Link: https://lore.kernel.org/r/20240506194454.1160315-4-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 'io_uring/io-wq.c')
0 files changed, 0 insertions, 0 deletions