mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
4ee55c9563
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/char/vmlogrdr.c:746:18: error: cast from 'void (*)(const void *)' to 'void (*)(struct device *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict] 746 | 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-1-fd048c9903b0@kernel.org Acked-by: Alexandra Winter <wintera@linux.ibm.com> Link: https://lore.kernel.org/r/20240506194454.1160315-3-hca@linux.ibm.com Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> |
||
---|---|---|
.. | ||
con3215.c | ||
con3270.c | ||
ctrlchar.c | ||
ctrlchar.h | ||
defkeymap.c | ||
defkeymap.map | ||
diag_ftp.c | ||
diag_ftp.h | ||
fs3270.c | ||
hmcdrv_cache.c | ||
hmcdrv_cache.h | ||
hmcdrv_dev.c | ||
hmcdrv_dev.h | ||
hmcdrv_ftp.c | ||
hmcdrv_ftp.h | ||
hmcdrv_mod.c | ||
Kconfig | ||
keyboard.c | ||
keyboard.h | ||
Makefile | ||
monreader.c | ||
monwriter.c | ||
raw3270.c | ||
raw3270.h | ||
sclp_ap.c | ||
sclp_cmd.c | ||
sclp_con.c | ||
sclp_config.c | ||
sclp_cpi_sys.c | ||
sclp_cpi_sys.h | ||
sclp_ctl.c | ||
sclp_diag.h | ||
sclp_early_core.c | ||
sclp_early.c | ||
sclp_ftp.c | ||
sclp_ftp.h | ||
sclp_ocf.c | ||
sclp_pci.c | ||
sclp_quiesce.c | ||
sclp_rw.c | ||
sclp_rw.h | ||
sclp_sd.c | ||
sclp_sdias.c | ||
sclp_sdias.h | ||
sclp_tty.c | ||
sclp_tty.h | ||
sclp_vt220.c | ||
sclp.c | ||
sclp.h | ||
tape_34xx.c | ||
tape_3590.c | ||
tape_3590.h | ||
tape_char.c | ||
tape_class.c | ||
tape_class.h | ||
tape_core.c | ||
tape_proc.c | ||
tape_std.c | ||
tape_std.h | ||
tape.h | ||
uvdevice.c | ||
vmcp.c | ||
vmlogrdr.c | ||
vmur.c | ||
vmur.h | ||
zcore.c |