Commit 7424e1f0 authored by Jiri Slaby's avatar Jiri Slaby Committed by Zhang Xiaoxu
Browse files

char: pcmcia: remove all the drivers

mainline inclusion
from mainline-v6.4-rc1
commit 9b12f050
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I5YGNO
CVE: CVE-2022-44033

-------------------------------------------------

These char PCMCIA drivers are buggy[1] and receive only minimal care. It
was concluded[2], that we should try to remove most pcmcia drivers
completely. Let's start with these char broken one.

Note that I also removed a UAPI header: include/uapi/linux/cm4000_cs.h.
I found only coccinelle tests mentioning some ioctl constants from that
file. But they are not actually used. Anyway, should someone complain,
we may reintroduce the header (or its parts).

[1] https://lore.kernel.org/all/f41c2765-80e0-48bc-b1e4-8cfd3230fd4a@www.fastmail.com/
[2] https://lore.kernel.org/all/c5b39544-a4fb-4796-a046-0b9be9853787@app.fastmail.com/



Signed-off-by: default avatarJiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: "Hyunwoo Kim" <imv4bel@gmail.com>
Cc: Harald Welte <laforge@gnumonks.org>
Cc: Lubomir Rintel <lkundrak@v3.sk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230222092302.6348-2-jirislaby@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Conflicts:
	Documentation/process/magic-number.rst
	Documentation/translations/it_IT/process/magic-number.rst
	Documentation/translations/sp_SP/process/magic-number.rst
	Documentation/translations/zh_CN/process/magic-number.rst
	Documentation/translations/zh_TW/process/magic-number.rst
	Documentation/userspace-api/ioctl/ioctl-number.rst
	MAINTAINERS
	arch/powerpc/configs/ppc6xx_defconfig
	drivers/char/Kconfig
	drivers/char/pcmcia/Kconfig
	drivers/char/pcmcia/Makefile
	drivers/char/pcmcia/cm4000_cs.c
	drivers/char/pcmcia/cm4040_cs.c
	drivers/char/pcmcia/scr24x_cs.c
	drivers/char/pcmcia/synclink_cs.c

Signed-off-by: default avatarZhang Xiaoxu <zhangxiaoxu5@huawei.com>
parent 9ddfeb2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment