linux/drivers/s390/char
Heiko Carstens 4ee55c9563 s390/vmlogrdr: 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/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>
2024-05-14 20:21:03 +02:00
..
con3215.c s390/3215: use new address translation helpers 2024-03-13 09:23:47 +01:00
con3270.c tty: con3270: convert to u8 and size_t 2023-12-08 12:02:37 +01:00
ctrlchar.c
ctrlchar.h
defkeymap.c
defkeymap.map
diag_ftp.c s390/ctlreg: rename ctl_reg.h to ctlreg.h 2023-09-19 13:26:56 +02:00
diag_ftp.h
fs3270.c s390/raw3270: make class3270 constant 2024-03-13 09:23:50 +01:00
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 s390/ap: modularize ap bus 2024-04-09 17:29:56 +02:00
monreader.c s390/monreader: fix virtual vs physical address confusion 2023-08-30 11:03:26 +02:00
monwriter.c
raw3270.c s390/3270: Fix buffer assignment 2024-04-26 16:22:38 +02:00
raw3270.h s390/raw3270: make class3270 constant 2024-03-13 09:23:50 +01:00
sclp.c s390/sclp: replace deprecated strncpy with strtomem 2023-10-25 15:08:30 +02:00
sclp.h
sclp_ap.c
sclp_cmd.c s390/mm: implement MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE notifiers 2024-02-21 16:00:02 -08:00
sclp_con.c
sclp_config.c
sclp_cpi_sys.c
sclp_cpi_sys.h
sclp_ctl.c
sclp_diag.h
sclp_early.c s390/ctlreg: rename ctl_reg.h to ctlreg.h 2023-09-19 13:26:56 +02:00
sclp_early_core.c s390/ctlreg: add struct ctlreg 2023-09-19 13:26:56 +02:00
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 tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
sclp_tty.h
sclp_vt220.c tty: make tty_operations::write()'s count size_t 2023-08-11 21:12:46 +02:00
tape.h s390/tape: fix virtual vs physical address confusion 2024-03-13 09:23:48 +01:00
tape_34xx.c
tape_3590.c
tape_3590.h
tape_char.c
tape_class.c s390/tape: make tape_class constant 2024-03-13 09:23:49 +01:00
tape_class.h
tape_core.c
tape_proc.c
tape_std.c
tape_std.h
uvdevice.c s390/uvdevice: Report additional-data length for attestation 2023-11-23 12:15:55 +01:00
vmcp.c s390/mm: make virt_to_pfn() a static inline 2023-08-16 15:13:03 +02:00
vmlogrdr.c s390/vmlogrdr: Make use of iucv_alloc_device() 2024-05-14 20:21:03 +02:00
vmur.c s390/vmur: make vmur_class constant 2024-03-13 09:23:49 +01:00
vmur.h
zcore.c s390/switch_to: use generic header file 2024-02-12 15:03:33 +01:00