mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
Merge 6417f03132 ("module: remove never implemented MODULE_SUPPORTED_DEVICE") into android-mainline
Steps on the way to 5.12-rc4. Resolves merge issues with: fs/fuse/dev.c include/uapi/linux/fuse.h Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ia8d9041a3c23eb26b089cbdc399e98f1c2121606
This commit is contained in:
@@ -176,7 +176,7 @@ SECTIONS
|
||||
.fill : {
|
||||
FILL(0);
|
||||
BYTE(0);
|
||||
. = ALIGN(8);
|
||||
STRUCT_ALIGN();
|
||||
}
|
||||
__appended_dtb = .;
|
||||
/* leave space for appended DTB */
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Sébastien Hinderer <Sebastien.Hinderer@ens-lyon.org>");
|
||||
MODULE_DESCRIPTION("A power_off handler for Iris devices from EuroBraille");
|
||||
MODULE_SUPPORTED_DEVICE("Eurobraille/Iris");
|
||||
|
||||
static bool force;
|
||||
|
||||
|
||||
@@ -100,8 +100,6 @@ static LIST_HEAD(fore200e_boards);
|
||||
|
||||
MODULE_AUTHOR("Christophe Lizzi - credits to Uwe Dannowski and Heikki Vatiainen");
|
||||
MODULE_DESCRIPTION("FORE Systems 200E-series ATM driver - version " FORE200E_VERSION);
|
||||
MODULE_SUPPORTED_DEVICE("PCA-200E, SBA-200E");
|
||||
|
||||
|
||||
static const int fore200e_rx_buf_nbr[ BUFFER_SCHEME_NBR ][ BUFFER_MAGN_NBR ] = {
|
||||
{ BUFFER_S1_NBR, BUFFER_L1_NBR },
|
||||
|
||||
@@ -5091,7 +5091,6 @@ module_param(floppy, charp, 0);
|
||||
module_param(FLOPPY_IRQ, int, 0);
|
||||
module_param(FLOPPY_DMA, int, 0);
|
||||
MODULE_AUTHOR("Alain L. Knaff");
|
||||
MODULE_SUPPORTED_DEVICE("fd");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
/* This doesn't actually get used other than for module information */
|
||||
|
||||
@@ -194,5 +194,4 @@ module_init(rsi_91x_bt_module_init);
|
||||
module_exit(rsi_91x_bt_module_exit);
|
||||
MODULE_AUTHOR("Redpine Signals Inc");
|
||||
MODULE_DESCRIPTION("RSI BT driver");
|
||||
MODULE_SUPPORTED_DEVICE("RSI-BT");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
@@ -81,9 +81,6 @@ MODULE_DESCRIPTION("Driver for Applicom Profibus card");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_MISCDEV(AC_MINOR);
|
||||
|
||||
MODULE_SUPPORTED_DEVICE("ac");
|
||||
|
||||
|
||||
static struct applicom_board {
|
||||
unsigned long PhysIO;
|
||||
void __iomem *RamIO;
|
||||
|
||||
@@ -64,7 +64,6 @@
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Jonathan Buzzard <jonathan@buzzard.org.uk>");
|
||||
MODULE_DESCRIPTION("Toshiba laptop SMM driver");
|
||||
MODULE_SUPPORTED_DEVICE("toshiba");
|
||||
|
||||
static DEFINE_MUTEX(tosh_mutex);
|
||||
static int tosh_fn;
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
|
||||
MODULE_DESCRIPTION("Joystick device interfaces");
|
||||
MODULE_SUPPORTED_DEVICE("input/js");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
#define JOYDEV_MINOR_BASE 0
|
||||
|
||||
@@ -430,4 +430,3 @@ MODULE_AUTHOR("Andreas Monitzer <andy@monitzer.com>");
|
||||
MODULE_AUTHOR("Ben Backx <ben@bbackx.com>");
|
||||
MODULE_DESCRIPTION("FireDTV DVB Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("FireDTV DVB");
|
||||
|
||||
@@ -41,7 +41,6 @@ MODULE_PARM_DESC(debug,
|
||||
|
||||
MODULE_AUTHOR("Andy Walls");
|
||||
MODULE_DESCRIPTION("CX23418 ALSA Interface");
|
||||
MODULE_SUPPORTED_DEVICE("CX23418 MPEG2 encoder");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_VERSION(CX18_VERSION);
|
||||
|
||||
@@ -232,7 +232,6 @@ MODULE_PARM_DESC(cx18_first_minor,
|
||||
|
||||
MODULE_AUTHOR("Hans Verkuil");
|
||||
MODULE_DESCRIPTION("CX23418 driver");
|
||||
MODULE_SUPPORTED_DEVICE("CX23418 MPEG2 encoder");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_VERSION(CX18_VERSION);
|
||||
|
||||
@@ -104,7 +104,6 @@ MODULE_PARM_DESC(index, "Index value for cx25821 capture interface(s).");
|
||||
MODULE_DESCRIPTION("ALSA driver module for cx25821 based capture cards");
|
||||
MODULE_AUTHOR("Hiep Huynh");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("{{Conexant,25821}"); /* "{{Conexant,23881}," */
|
||||
|
||||
static unsigned int debug;
|
||||
module_param(debug, int, 0644);
|
||||
|
||||
@@ -98,7 +98,6 @@ MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@kernel.org>");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_VERSION(CX88_VERSION);
|
||||
|
||||
MODULE_SUPPORTED_DEVICE("{{Conexant,23881},{{Conexant,23882},{{Conexant,23883}");
|
||||
static unsigned int debug;
|
||||
module_param(debug, int, 0644);
|
||||
MODULE_PARM_DESC(debug, "enable debug messages");
|
||||
|
||||
@@ -38,7 +38,6 @@ MODULE_PARM_DESC(index,
|
||||
|
||||
MODULE_AUTHOR("Andy Walls");
|
||||
MODULE_DESCRIPTION("CX23415/CX23416 ALSA Interface");
|
||||
MODULE_SUPPORTED_DEVICE("CX23415/CX23416 MPEG2 encoder");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_VERSION(IVTV_VERSION);
|
||||
|
||||
@@ -275,9 +275,6 @@ MODULE_PARM_DESC(ivtv_first_minor, "Set device node number assigned to first car
|
||||
|
||||
MODULE_AUTHOR("Kevin Thayer, Chris Kennedy, Hans Verkuil");
|
||||
MODULE_DESCRIPTION("CX23415/CX23416 driver");
|
||||
MODULE_SUPPORTED_DEVICE
|
||||
("CX23415/CX23416 MPEG2 encoder (WinTV PVR-150/250/350/500,\n"
|
||||
"\t\t\tYuan MPG series and similar)");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_VERSION(IVTV_VERSION);
|
||||
|
||||
@@ -1269,6 +1269,5 @@ late_initcall_sync(sta2x11_vip_init_module);
|
||||
MODULE_DESCRIPTION("STA2X11 Video Input Port driver");
|
||||
MODULE_AUTHOR("Wind River");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_SUPPORTED_DEVICE("sta2x11 video input");
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DEVICE_TABLE(pci, sta2x11_vip_pci_tbl);
|
||||
|
||||
@@ -1363,4 +1363,3 @@ module_platform_driver(atmel_isi_driver);
|
||||
MODULE_AUTHOR("Josh Wu <josh.wu@atmel.com>");
|
||||
MODULE_DESCRIPTION("The V4L2 driver for Atmel Linux");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("video");
|
||||
|
||||
@@ -330,4 +330,3 @@ module_platform_driver(atmel_isc_driver);
|
||||
MODULE_AUTHOR("Songjun Wu");
|
||||
MODULE_DESCRIPTION("The V4L2 driver for Atmel-ISC");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_SUPPORTED_DEVICE("video");
|
||||
|
||||
@@ -44,10 +44,6 @@
|
||||
MODULE_AUTHOR("Jonathan Corbet <corbet@lwn.net>");
|
||||
MODULE_DESCRIPTION("Marvell 88ALP01 CMOS Camera Controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Video");
|
||||
|
||||
|
||||
|
||||
|
||||
struct cafe_camera {
|
||||
int registered; /* Fully initialized? */
|
||||
|
||||
@@ -2149,4 +2149,3 @@ MODULE_AUTHOR("Yannick Fertre <yannick.fertre@st.com>");
|
||||
MODULE_AUTHOR("Hugues Fruchet <hugues.fruchet@st.com>");
|
||||
MODULE_DESCRIPTION("STMicroelectronics STM32 Digital Camera Memory Interface driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("video");
|
||||
|
||||
@@ -56,7 +56,6 @@ MODULE_PARM_DESC(flicker_mode, "Flicker frequency (0 (disabled), " __stringify(5
|
||||
|
||||
MODULE_AUTHOR("Steve Miller (STMicroelectronics) <steve.miller@st.com>");
|
||||
MODULE_DESCRIPTION("V4L-driver for STMicroelectronics CPiA2 based cameras");
|
||||
MODULE_SUPPORTED_DEVICE("video");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_VERSION(CPIA_VERSION);
|
||||
|
||||
|
||||
@@ -51,7 +51,6 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s).");
|
||||
MODULE_DESCRIPTION("ALSA driver module for tm5600/tm6000/tm6010 based TV cards");
|
||||
MODULE_AUTHOR("Mauro Carvalho Chehab");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_SUPPORTED_DEVICE("{{Trident,tm5600},{{Trident,tm6000},{{Trident,tm6010}");
|
||||
static unsigned int debug;
|
||||
module_param(debug, int, 0644);
|
||||
MODULE_PARM_DESC(debug, "enable debug messages");
|
||||
|
||||
@@ -23,8 +23,6 @@ MODULE_DESCRIPTION("DVB driver extension module for tm5600/6000/6010 based TV ca
|
||||
MODULE_AUTHOR("Mauro Carvalho Chehab");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_SUPPORTED_DEVICE("{{Trident, tm5600},{{Trident, tm6000},{{Trident, tm6010}");
|
||||
|
||||
static int debug;
|
||||
|
||||
module_param(debug, int, 0644);
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
MODULE_AUTHOR("Eric Brower <ebrower@usa.net>");
|
||||
MODULE_DESCRIPTION("User-programmable flash device on Sun Microsystems boardsets");
|
||||
MODULE_SUPPORTED_DEVICE(DRIVER_NAME);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_VERSION("2.1");
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>");
|
||||
MODULE_DESCRIPTION("Socket-CAN driver for PEAK PCAN PCIe/M.2 FD family cards");
|
||||
MODULE_SUPPORTED_DEVICE("PEAK PCAN PCIe/M.2 FD CAN cards");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#define PCIEFD_DRV_NAME "peak_pciefd"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
MODULE_AUTHOR("Sebastian Haas <haas@ems-wuenche.com>");
|
||||
MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-PCI/PCIe/104P CAN cards");
|
||||
MODULE_SUPPORTED_DEVICE("EMS CPC-PCI/PCIe/104P CAN card");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#define EMS_PCI_V1_MAX_CHAN 2
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
MODULE_AUTHOR("Markus Plessing <plessing@ems-wuensche.com>");
|
||||
MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-CARD cards");
|
||||
MODULE_SUPPORTED_DEVICE("EMS CPC-CARD CAN card");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#define EMS_PCMCIA_MAX_CHAN 2
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
|
||||
MODULE_AUTHOR("Per Dalen <per.dalen@cnw.se>");
|
||||
MODULE_DESCRIPTION("Socket-CAN driver for KVASER PCAN PCI cards");
|
||||
MODULE_SUPPORTED_DEVICE("KVASER PCAN PCI CAN card");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#define MAX_NO_OF_CHANNELS 4 /* max no of channels on a single card */
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>");
|
||||
MODULE_DESCRIPTION("Socket-CAN driver for PEAK PCAN PCI family cards");
|
||||
MODULE_SUPPORTED_DEVICE("PEAK PCAN PCI/PCIe/PCIeC miniPCI CAN cards");
|
||||
MODULE_SUPPORTED_DEVICE("PEAK PCAN miniPCIe/cPCI PC/104+ PCI/104e CAN Cards");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#define DRV_NAME "peak_pci"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>");
|
||||
MODULE_DESCRIPTION("CAN driver for PEAK-System PCAN-PC Cards");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_SUPPORTED_DEVICE("PEAK PCAN-PC Card");
|
||||
|
||||
/* PEAK-System PCMCIA driver name */
|
||||
#define PCC_NAME "peak_pcmcia"
|
||||
|
||||
@@ -25,18 +25,6 @@
|
||||
MODULE_AUTHOR("Pavel Cheblakov <P.B.Cheblakov@inp.nsk.su>");
|
||||
MODULE_DESCRIPTION("Socket-CAN driver for PLX90xx PCI-bridge cards with "
|
||||
"the SJA1000 chips");
|
||||
MODULE_SUPPORTED_DEVICE("Adlink PCI-7841/cPCI-7841, "
|
||||
"Adlink PCI-7841/cPCI-7841 SE, "
|
||||
"Marathon CAN-bus-PCI, "
|
||||
"Marathon CAN-bus-PCIe, "
|
||||
"TEWS TECHNOLOGIES TPMC810, "
|
||||
"esd CAN-PCI/CPCI/PCI104/200, "
|
||||
"esd CAN-PCI/PMC/266, "
|
||||
"esd CAN-PCIe/2000, "
|
||||
"Connect Tech Inc. CANpro/104-Plus Opto (CRG001), "
|
||||
"IXXAT PC-I 04/PCI, "
|
||||
"ELCUS CAN-200-PCI, "
|
||||
"ASEM DUAL CAN-RAW")
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
#define PLX_PCI_MAX_CHAN 2
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
#include "pcan_usb_core.h"
|
||||
|
||||
MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB adapter");
|
||||
|
||||
/* PCAN-USB Endpoints */
|
||||
#define PCAN_USB_EP_CMDOUT 1
|
||||
#define PCAN_USB_EP_CMDIN (PCAN_USB_EP_CMDOUT | USB_DIR_IN)
|
||||
|
||||
@@ -16,9 +16,6 @@
|
||||
#include "pcan_usb_core.h"
|
||||
#include "pcan_usb_pro.h"
|
||||
|
||||
MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB FD adapter");
|
||||
MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB Pro FD adapter");
|
||||
|
||||
#define PCAN_USBPROFD_CHANNEL_COUNT 2
|
||||
#define PCAN_USBFD_CHANNEL_COUNT 1
|
||||
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
#include "pcan_usb_core.h"
|
||||
#include "pcan_usb_pro.h"
|
||||
|
||||
MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB Pro adapter");
|
||||
|
||||
#define PCAN_USBPRO_CHANNEL_COUNT 2
|
||||
|
||||
/* PCAN-USB Pro adapter internal clock (MHz) */
|
||||
|
||||
@@ -2167,7 +2167,6 @@ static void __exit scc_cleanup_driver(void)
|
||||
|
||||
MODULE_AUTHOR("Joerg Reuter <jreuter@yaina.de>");
|
||||
MODULE_DESCRIPTION("AX.25 Device Driver for Z8530 based HDLC cards");
|
||||
MODULE_SUPPORTED_DEVICE("Z8530 based SCC cards for Amateur Radio");
|
||||
MODULE_LICENSE("GPL");
|
||||
module_init(scc_init_driver);
|
||||
module_exit(scc_cleanup_driver);
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
MODULE_AUTHOR("Michael Wu <flamingice@sourmilk.net>");
|
||||
MODULE_AUTHOR("Jouni Malinen <j@w1.fi>");
|
||||
MODULE_DESCRIPTION("Driver for IEEE 802.11b wireless cards based on ADMtek ADM8211");
|
||||
MODULE_SUPPORTED_DEVICE("ADM8211");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
static unsigned int tx_ring_size __read_mostly = 16;
|
||||
|
||||
@@ -90,7 +90,6 @@ MODULE_PARM_DESC(no_hw_rfkill_switch, "Ignore the GPIO RFKill switch state");
|
||||
MODULE_AUTHOR("Jiri Slaby");
|
||||
MODULE_AUTHOR("Nick Kossifidis");
|
||||
MODULE_DESCRIPTION("Support for 5xxx series of Atheros 802.11 wireless LAN cards.");
|
||||
MODULE_SUPPORTED_DEVICE("Atheros 5xxx WLAN cards");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
static int ath5k_init(struct ieee80211_hw *hw);
|
||||
|
||||
@@ -34,7 +34,6 @@ static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type);
|
||||
|
||||
MODULE_AUTHOR("Atheros Communications");
|
||||
MODULE_DESCRIPTION("Support for Atheros 802.11n wireless LAN cards.");
|
||||
MODULE_SUPPORTED_DEVICE("Atheros 802.11n WLAN cards");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
static void ath9k_hw_set_clockrate(struct ath_hw *ah)
|
||||
|
||||
@@ -37,7 +37,6 @@ static char *dev_info = "ath9k";
|
||||
|
||||
MODULE_AUTHOR("Atheros Communications");
|
||||
MODULE_DESCRIPTION("Support for Atheros 802.11n wireless LAN cards.");
|
||||
MODULE_SUPPORTED_DEVICE("Atheros 802.11n WLAN cards");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
static unsigned int ath9k_debug = ATH_DBG_DEFAULT;
|
||||
|
||||
@@ -75,7 +75,6 @@
|
||||
MODULE_AUTHOR("Simon Kelley");
|
||||
MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards.");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Atmel at76c50x wireless cards");
|
||||
|
||||
/* The name of the firmware file to be loaded
|
||||
over-rides any automatic selection */
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
MODULE_AUTHOR("Simon Kelley");
|
||||
MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards.");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Atmel at76c50x PCMCIA cards");
|
||||
|
||||
/*====================================================================*/
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
MODULE_AUTHOR("Simon Kelley");
|
||||
MODULE_DESCRIPTION("Support for Atmel at76c50x 802.11 wireless ethernet cards.");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Atmel at76c506 PCI wireless cards");
|
||||
|
||||
static const struct pci_device_id card_ids[] = {
|
||||
{ 0x1114, 0x0506, PCI_ANY_ID, PCI_ANY_ID },
|
||||
|
||||
@@ -87,7 +87,6 @@ static int n_adapters_found;
|
||||
|
||||
MODULE_AUTHOR("Broadcom Corporation");
|
||||
MODULE_DESCRIPTION("Broadcom 802.11n wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Broadcom 802.11n WLAN cards");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
/* This needs to be adjusted when brcms_firmwares changes */
|
||||
MODULE_FIRMWARE("brcm/bcm43xx-0.fw");
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
MODULE_AUTHOR("Broadcom Corporation");
|
||||
MODULE_DESCRIPTION("Broadcom 802.11n wireless LAN driver utilities.");
|
||||
MODULE_SUPPORTED_DEVICE("Broadcom 802.11n WLAN cards");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
struct sk_buff *brcmu_pkt_buf_get_skb(uint len)
|
||||
|
||||
@@ -251,7 +251,6 @@ MODULE_AUTHOR("Benjamin Reed");
|
||||
MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet cards. "
|
||||
"Direct support for ISA/PCI/MPI cards and support for PCMCIA when used with airo_cs.");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350");
|
||||
module_param_hw_array(io, int, ioport, NULL, 0);
|
||||
module_param_hw_array(irq, int, irq, NULL, 0);
|
||||
module_param_array(rates, int, NULL, 0);
|
||||
|
||||
@@ -47,7 +47,6 @@ MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet "
|
||||
"cards. This is the module that links the PCMCIA card "
|
||||
"with the airo module.");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340 PCMCIA cards");
|
||||
|
||||
/*====================================================================*/
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@ static char *dev_info = "hostap_cs";
|
||||
MODULE_AUTHOR("Jouni Malinen");
|
||||
MODULE_DESCRIPTION("Support for Intersil Prism2-based 802.11 wireless LAN "
|
||||
"cards (PC Card).");
|
||||
MODULE_SUPPORTED_DEVICE("Intersil Prism2-based WLAN cards (PC Card)");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ static char *dev_info = "hostap_pci";
|
||||
MODULE_AUTHOR("Jouni Malinen");
|
||||
MODULE_DESCRIPTION("Support for Intersil Prism2.5-based 802.11 wireless LAN "
|
||||
"PCI cards.");
|
||||
MODULE_SUPPORTED_DEVICE("Intersil Prism2.5-based WLAN PCI cards");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ static char *dev_info = "hostap_plx";
|
||||
MODULE_AUTHOR("Jouni Malinen");
|
||||
MODULE_DESCRIPTION("Support for Intersil Prism2-based 802.11 wireless LAN "
|
||||
"cards (PLX).");
|
||||
MODULE_SUPPORTED_DEVICE("Intersil Prism2-based WLAN cards (PLX)");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
|
||||
@@ -1821,7 +1821,6 @@ static const struct pci_device_id rt2400pci_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT2400 PCI & PCMCIA Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2460 PCI & PCMCIA chipset based cards");
|
||||
MODULE_DEVICE_TABLE(pci, rt2400pci_device_table);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
@@ -2119,7 +2119,6 @@ static const struct pci_device_id rt2500pci_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT2500 PCI & PCMCIA Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2560 PCI & PCMCIA chipset based cards");
|
||||
MODULE_DEVICE_TABLE(pci, rt2500pci_device_table);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
@@ -1956,7 +1956,6 @@ static const struct usb_device_id rt2500usb_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT2500 USB Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2570 USB chipset based cards");
|
||||
MODULE_DEVICE_TABLE(usb, rt2500usb_device_table);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
@@ -439,7 +439,6 @@ static const struct pci_device_id rt2800pci_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT2800 PCI & PCMCIA Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2860 PCI & PCMCIA chipset based cards");
|
||||
MODULE_FIRMWARE(FIRMWARE_RT2860);
|
||||
MODULE_DEVICE_TABLE(pci, rt2800pci_device_table);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -1248,7 +1248,6 @@ static const struct usb_device_id rt2800usb_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT2800 USB Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2870 USB chipset based cards");
|
||||
MODULE_DEVICE_TABLE(usb, rt2800usb_device_table);
|
||||
MODULE_FIRMWARE(FIRMWARE_RT2870);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -2993,8 +2993,6 @@ static const struct pci_device_id rt61pci_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT61 PCI & PCMCIA Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2561, RT2561s & RT2661 "
|
||||
"PCI & PCMCIA chipset based cards");
|
||||
MODULE_DEVICE_TABLE(pci, rt61pci_device_table);
|
||||
MODULE_FIRMWARE(FIRMWARE_RT2561);
|
||||
MODULE_FIRMWARE(FIRMWARE_RT2561s);
|
||||
|
||||
@@ -2513,7 +2513,6 @@ static const struct usb_device_id rt73usb_device_table[] = {
|
||||
MODULE_AUTHOR(DRV_PROJECT);
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
MODULE_DESCRIPTION("Ralink RT73 USB Wireless LAN driver.");
|
||||
MODULE_SUPPORTED_DEVICE("Ralink RT2571W & RT2671 USB chipset based cards");
|
||||
MODULE_DEVICE_TABLE(usb, rt73usb_device_table);
|
||||
MODULE_FIRMWARE(FIRMWARE_RT2571);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -441,6 +441,5 @@ module_init(rsi_91x_hal_module_init);
|
||||
module_exit(rsi_91x_hal_module_exit);
|
||||
MODULE_AUTHOR("Redpine Signals Inc");
|
||||
MODULE_DESCRIPTION("Station driver for RSI 91x devices");
|
||||
MODULE_SUPPORTED_DEVICE("RSI-91x");
|
||||
MODULE_VERSION("0.1");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
@@ -1571,7 +1571,6 @@ module_exit(rsi_module_exit);
|
||||
|
||||
MODULE_AUTHOR("Redpine Signals Inc");
|
||||
MODULE_DESCRIPTION("Common SDIO layer for RSI drivers");
|
||||
MODULE_SUPPORTED_DEVICE("RSI-91x");
|
||||
MODULE_DEVICE_TABLE(sdio, rsi_dev_table);
|
||||
MODULE_FIRMWARE(FIRMWARE_RSI9113);
|
||||
MODULE_VERSION("0.1");
|
||||
|
||||
@@ -928,7 +928,6 @@ module_usb_driver(rsi_driver);
|
||||
|
||||
MODULE_AUTHOR("Redpine Signals Inc");
|
||||
MODULE_DESCRIPTION("Common USB layer for RSI drivers");
|
||||
MODULE_SUPPORTED_DEVICE("RSI-91x");
|
||||
MODULE_DEVICE_TABLE(usb, rsi_dev_table);
|
||||
MODULE_FIRMWARE(FIRMWARE_RSI9113);
|
||||
MODULE_VERSION("0.1");
|
||||
|
||||
@@ -241,6 +241,5 @@ module_platform_driver_probe(amiga_parallel_driver, amiga_parallel_probe);
|
||||
|
||||
MODULE_AUTHOR("Joerg Dorchain <joerg@dorchain.net>");
|
||||
MODULE_DESCRIPTION("Parport Driver for Amiga builtin Port");
|
||||
MODULE_SUPPORTED_DEVICE("Amiga builtin Parallel Port");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("platform:amiga-parallel");
|
||||
|
||||
@@ -218,7 +218,6 @@ static void __exit parport_atari_exit(void)
|
||||
|
||||
MODULE_AUTHOR("Andreas Schwab");
|
||||
MODULE_DESCRIPTION("Parport Driver for Atari builtin Port");
|
||||
MODULE_SUPPORTED_DEVICE("Atari builtin Parallel Port");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_init(parport_atari_init)
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
MODULE_AUTHOR("Helge Deller <deller@gmx.de>");
|
||||
MODULE_DESCRIPTION("HP-PARISC PC-style parallel port driver");
|
||||
MODULE_SUPPORTED_DEVICE("integrated PC-style parallel port");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
|
||||
@@ -359,7 +359,6 @@ static void __exit parport_mfc3_exit(void)
|
||||
|
||||
MODULE_AUTHOR("Joerg Dorchain <joerg@dorchain.net>");
|
||||
MODULE_DESCRIPTION("Parport Driver for Multiface 3 expansion cards Parallel Port");
|
||||
MODULE_SUPPORTED_DEVICE("Multiface 3 Parallel Port");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_init(parport_mfc3_init)
|
||||
|
||||
@@ -377,6 +377,5 @@ module_platform_driver(bpp_sbus_driver);
|
||||
|
||||
MODULE_AUTHOR("Derrick J Brashear");
|
||||
MODULE_DESCRIPTION("Parport Driver for Sparc bidirectional Port");
|
||||
MODULE_SUPPORTED_DEVICE("Sparc Bidirectional Parallel Port");
|
||||
MODULE_VERSION("2.0");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -63,7 +63,6 @@ void dasd_int_handler(struct ccw_device *, unsigned long, struct irb *);
|
||||
MODULE_AUTHOR("Holger Smolinski <Holger.Smolinski@de.ibm.com>");
|
||||
MODULE_DESCRIPTION("Linux on S/390 DASD device driver,"
|
||||
" Copyright IBM Corp. 2000");
|
||||
MODULE_SUPPORTED_DEVICE("dasd");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
/*
|
||||
|
||||
@@ -50,7 +50,6 @@ MODULE_PARM_DESC(sol_compat,
|
||||
MODULE_AUTHOR("Eric Brower <ebrower@usa.net>");
|
||||
MODULE_DESCRIPTION("7-Segment Display driver for Sun Microsystems CP1400/1500");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("d7s");
|
||||
|
||||
struct d7s {
|
||||
void __iomem *regs;
|
||||
|
||||
@@ -80,7 +80,6 @@
|
||||
MODULE_AUTHOR("Hewlett-Packard Company");
|
||||
MODULE_DESCRIPTION("Driver for HP Smart Array Controller version " \
|
||||
HPSA_DRIVER_VERSION);
|
||||
MODULE_SUPPORTED_DEVICE("HP Smart Array Controllers");
|
||||
MODULE_VERSION(HPSA_DRIVER_VERSION);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("cciss");
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
|
||||
MODULE_AUTHOR("YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>");
|
||||
MODULE_DESCRIPTION("WorkBit NinjaSCSI-3 / NinjaSCSI-32Bi(16bit) PCMCIA SCSI host adapter module");
|
||||
MODULE_SUPPORTED_DEVICE("sd,sr,sg,st");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
#include "nsp_io.h"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
MODULE_AUTHOR("Microsemi");
|
||||
MODULE_DESCRIPTION("Driver for Microsemi Smart Family Controller version "
|
||||
DRIVER_VERSION);
|
||||
MODULE_SUPPORTED_DEVICE("Microsemi Smart Family Controllers");
|
||||
MODULE_VERSION(DRIVER_VERSION);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
MODULE_AUTHOR("Adrian McMenamin <adrian@mcmen.demon.co.uk>");
|
||||
MODULE_DESCRIPTION("Maple bus driver for Dreamcast");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_SUPPORTED_DEVICE("{{SEGA, Dreamcast/Maple}}");
|
||||
|
||||
static void maple_dma_handler(struct work_struct *work);
|
||||
static void maple_vblank_handler(struct work_struct *work);
|
||||
|
||||
@@ -877,5 +877,4 @@ module_comedi_usb_driver(vmk80xx_driver, vmk80xx_usb_driver);
|
||||
|
||||
MODULE_AUTHOR("Manuel Gebele <forensixs@gmx.de>");
|
||||
MODULE_DESCRIPTION("Velleman USB Board Low-Level Driver");
|
||||
MODULE_SUPPORTED_DEVICE("K8055/K8061 aka VM110/VM140");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -747,7 +747,6 @@ module_platform_driver(optee_driver);
|
||||
|
||||
MODULE_AUTHOR("Linaro");
|
||||
MODULE_DESCRIPTION("OP-TEE driver");
|
||||
MODULE_SUPPORTED_DEVICE("");
|
||||
MODULE_VERSION("1.0");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS("platform:optee");
|
||||
|
||||
@@ -674,6 +674,9 @@ void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev,
|
||||
{
|
||||
struct cooling_dev_stats *stats = cdev->stats;
|
||||
|
||||
if (!stats)
|
||||
return;
|
||||
|
||||
spin_lock(&stats->lock);
|
||||
|
||||
if (stats->state == new_state)
|
||||
|
||||
@@ -1639,8 +1639,6 @@ module_exit(icom_exit);
|
||||
|
||||
MODULE_AUTHOR("Michael Anderson <mjanders@us.ibm.com>");
|
||||
MODULE_DESCRIPTION("IBM iSeries Serial IOA driver");
|
||||
MODULE_SUPPORTED_DEVICE
|
||||
("IBM iSeries 2745, 2771, 2772, 2742, 2793 and 2805 Communications adapters");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_FIRMWARE("icom_call_setup.bin");
|
||||
MODULE_FIRMWARE("icom_res_dce.bin");
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
MODULE_AUTHOR("Digi International, https://www.digi.com");
|
||||
MODULE_DESCRIPTION("Driver for the Digi International Neo and Classic PCI based product line");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("jsm");
|
||||
|
||||
#define JSM_DRIVER_NAME "jsm"
|
||||
#define NR_PORTS 32
|
||||
|
||||
@@ -117,7 +117,6 @@ MODULE_DEVICE_TABLE(usb, ld_usb_table);
|
||||
MODULE_AUTHOR("Michael Hund <mhund@ld-didactic.de>");
|
||||
MODULE_DESCRIPTION("LD USB Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("LD USB Devices");
|
||||
|
||||
/* All interrupt in transfers are collected in a ring buffer to
|
||||
* avoid racing conditions and get better performance of the driver.
|
||||
|
||||
@@ -273,7 +273,6 @@ module_exit(cpu5wdt_exit_module);
|
||||
|
||||
MODULE_AUTHOR("Heiko Ronsdorf <hero@ihg.uni-duisburg.de>");
|
||||
MODULE_DESCRIPTION("sma cpu5 watchdog driver");
|
||||
MODULE_SUPPORTED_DEVICE("sma cpu5 watchdog");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_param_hw(port, int, ioport, 0);
|
||||
|
||||
@@ -172,7 +172,6 @@ MODULE_PARM_DESC(wd2_timeout, "Default watchdog2 timeout in 1/10secs");
|
||||
MODULE_AUTHOR("Eric Brower <ebrower@usa.net>");
|
||||
MODULE_DESCRIPTION("Hardware watchdog driver for Sun Microsystems CP1400/1500");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_SUPPORTED_DEVICE("watchdog");
|
||||
|
||||
static void cpwd_writew(u16 val, void __iomem *addr)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
|
||||
MODULE_AUTHOR("David S. Miller <davem@davemloft.net>");
|
||||
MODULE_DESCRIPTION("Hardware watchdog driver for Sun RIO");
|
||||
MODULE_SUPPORTED_DEVICE("watchdog");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
#define DRIVER_NAME "riowd"
|
||||
|
||||
@@ -70,7 +70,6 @@ const struct inode_operations afs_dir_inode_operations = {
|
||||
.permission = afs_permission,
|
||||
.getattr = afs_getattr,
|
||||
.setattr = afs_setattr,
|
||||
.listxattr = afs_listxattr,
|
||||
};
|
||||
|
||||
const struct address_space_operations afs_dir_aops = {
|
||||
|
||||
@@ -43,7 +43,6 @@ const struct inode_operations afs_file_inode_operations = {
|
||||
.getattr = afs_getattr,
|
||||
.setattr = afs_setattr,
|
||||
.permission = afs_permission,
|
||||
.listxattr = afs_listxattr,
|
||||
};
|
||||
|
||||
const struct address_space_operations afs_fs_aops = {
|
||||
|
||||
@@ -181,10 +181,13 @@ void afs_wait_for_operation(struct afs_operation *op)
|
||||
if (test_bit(AFS_SERVER_FL_IS_YFS, &op->server->flags) &&
|
||||
op->ops->issue_yfs_rpc)
|
||||
op->ops->issue_yfs_rpc(op);
|
||||
else
|
||||
else if (op->ops->issue_afs_rpc)
|
||||
op->ops->issue_afs_rpc(op);
|
||||
else
|
||||
op->ac.error = -ENOTSUPP;
|
||||
|
||||
op->error = afs_wait_for_call_to_complete(op->call, &op->ac);
|
||||
if (op->call)
|
||||
op->error = afs_wait_for_call_to_complete(op->call, &op->ac);
|
||||
}
|
||||
|
||||
switch (op->error) {
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
|
||||
static const struct inode_operations afs_symlink_inode_operations = {
|
||||
.get_link = page_get_link,
|
||||
.listxattr = afs_listxattr,
|
||||
};
|
||||
|
||||
static noinline void dump_vnode(struct afs_vnode *vnode, struct afs_vnode *parent_vnode)
|
||||
|
||||
@@ -1509,7 +1509,6 @@ extern int afs_launder_page(struct page *);
|
||||
* xattr.c
|
||||
*/
|
||||
extern const struct xattr_handler *afs_xattr_handlers[];
|
||||
extern ssize_t afs_listxattr(struct dentry *, char *, size_t);
|
||||
|
||||
/*
|
||||
* yfsclient.c
|
||||
|
||||
@@ -32,7 +32,6 @@ const struct inode_operations afs_mntpt_inode_operations = {
|
||||
.lookup = afs_mntpt_lookup,
|
||||
.readlink = page_readlink,
|
||||
.getattr = afs_getattr,
|
||||
.listxattr = afs_listxattr,
|
||||
};
|
||||
|
||||
const struct inode_operations afs_autocell_inode_operations = {
|
||||
|
||||
@@ -11,29 +11,6 @@
|
||||
#include <linux/xattr.h>
|
||||
#include "internal.h"
|
||||
|
||||
static const char afs_xattr_list[] =
|
||||
"afs.acl\0"
|
||||
"afs.cell\0"
|
||||
"afs.fid\0"
|
||||
"afs.volume\0"
|
||||
"afs.yfs.acl\0"
|
||||
"afs.yfs.acl_inherited\0"
|
||||
"afs.yfs.acl_num_cleaned\0"
|
||||
"afs.yfs.vol_acl";
|
||||
|
||||
/*
|
||||
* Retrieve a list of the supported xattrs.
|
||||
*/
|
||||
ssize_t afs_listxattr(struct dentry *dentry, char *buffer, size_t size)
|
||||
{
|
||||
if (size == 0)
|
||||
return sizeof(afs_xattr_list);
|
||||
if (size < sizeof(afs_xattr_list))
|
||||
return -ERANGE;
|
||||
memcpy(buffer, afs_xattr_list, sizeof(afs_xattr_list));
|
||||
return sizeof(afs_xattr_list);
|
||||
}
|
||||
|
||||
/*
|
||||
* Deal with the result of a successful fetch ACL operation.
|
||||
*/
|
||||
@@ -231,6 +208,8 @@ static int afs_xattr_get_yfs(const struct xattr_handler *handler,
|
||||
else
|
||||
ret = -ERANGE;
|
||||
}
|
||||
} else if (ret == -ENOTSUPP) {
|
||||
ret = -ENODATA;
|
||||
}
|
||||
|
||||
error_yacl:
|
||||
@@ -256,6 +235,7 @@ static int afs_xattr_set_yfs(const struct xattr_handler *handler,
|
||||
{
|
||||
struct afs_operation *op;
|
||||
struct afs_vnode *vnode = AFS_FS_I(inode);
|
||||
int ret;
|
||||
|
||||
if (flags == XATTR_CREATE ||
|
||||
strcmp(name, "acl") != 0)
|
||||
@@ -270,7 +250,10 @@ static int afs_xattr_set_yfs(const struct xattr_handler *handler,
|
||||
return afs_put_operation(op);
|
||||
|
||||
op->ops = &yfs_store_opaque_acl2_operation;
|
||||
return afs_do_sync_operation(op);
|
||||
ret = afs_do_sync_operation(op);
|
||||
if (ret == -ENOTSUPP)
|
||||
ret = -ENODATA;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static const struct xattr_handler afs_xattr_yfs_handler = {
|
||||
|
||||
@@ -887,6 +887,7 @@ static inline u64 fuse_get_attr_version(struct fuse_conn *fc)
|
||||
|
||||
static inline void fuse_make_bad(struct inode *inode)
|
||||
{
|
||||
remove_inode_hash(inode);
|
||||
set_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state);
|
||||
}
|
||||
|
||||
|
||||
@@ -1324,8 +1324,15 @@ static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc)
|
||||
|
||||
/* virtiofs allocates and installs its own fuse devices */
|
||||
ctx->fudptr = NULL;
|
||||
if (ctx->dax)
|
||||
if (ctx->dax) {
|
||||
if (!fs->dax_dev) {
|
||||
err = -EINVAL;
|
||||
pr_err("virtio-fs: dax can't be enabled as filesystem"
|
||||
" device does not support it.\n");
|
||||
goto err_free_fuse_devs;
|
||||
}
|
||||
ctx->dax_dev = fs->dax_dev;
|
||||
}
|
||||
err = fuse_fill_super_common(sb, ctx);
|
||||
if (err < 0)
|
||||
goto err_free_fuse_devs;
|
||||
|
||||
@@ -1808,9 +1808,6 @@ check_conflicting_open(struct file *filp, const long arg, int flags)
|
||||
|
||||
if (flags & FL_LAYOUT)
|
||||
return 0;
|
||||
if (flags & FL_DELEG)
|
||||
/* We leave these checks to the caller. */
|
||||
return 0;
|
||||
|
||||
if (arg == F_RDLCK)
|
||||
return inode_is_open_for_write(inode) ? -EAGAIN : 0;
|
||||
|
||||
@@ -73,6 +73,7 @@ config NFSD_V4
|
||||
select NFSD_V3
|
||||
select FS_POSIX_ACL
|
||||
select SUNRPC_GSS
|
||||
select CRYPTO
|
||||
select CRYPTO_MD5
|
||||
select CRYPTO_SHA256
|
||||
select GRACE_PERIOD
|
||||
|
||||
@@ -898,6 +898,8 @@ nfsd_file_find_locked(struct inode *inode, unsigned int may_flags,
|
||||
continue;
|
||||
if (!nfsd_match_cred(nf->nf_cred, current_cred()))
|
||||
continue;
|
||||
if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags))
|
||||
continue;
|
||||
if (nfsd_file_get(nf) != NULL)
|
||||
return nf;
|
||||
}
|
||||
|
||||
@@ -1189,6 +1189,7 @@ static void nfsd4_cb_done(struct rpc_task *task, void *calldata)
|
||||
switch (task->tk_status) {
|
||||
case -EIO:
|
||||
case -ETIMEDOUT:
|
||||
case -EACCES:
|
||||
nfsd4_mark_cb_down(clp, task->tk_status);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1302,7 +1302,7 @@ nfsd4_cleanup_inter_ssc(struct vfsmount *ss_mnt, struct nfsd_file *src,
|
||||
struct nfsd_file *dst)
|
||||
{
|
||||
nfs42_ssc_close(src->nf_file);
|
||||
/* 'src' is freed by nfsd4_do_async_copy */
|
||||
fput(src->nf_file);
|
||||
nfsd_file_put(dst);
|
||||
mntput(ss_mnt);
|
||||
}
|
||||
|
||||
@@ -4940,31 +4940,6 @@ static struct file_lock *nfs4_alloc_init_lease(struct nfs4_delegation *dp,
|
||||
return fl;
|
||||
}
|
||||
|
||||
static int nfsd4_check_conflicting_opens(struct nfs4_client *clp,
|
||||
struct nfs4_file *fp)
|
||||
{
|
||||
struct nfs4_clnt_odstate *co;
|
||||
struct file *f = fp->fi_deleg_file->nf_file;
|
||||
struct inode *ino = locks_inode(f);
|
||||
int writes = atomic_read(&ino->i_writecount);
|
||||
|
||||
if (fp->fi_fds[O_WRONLY])
|
||||
writes--;
|
||||
if (fp->fi_fds[O_RDWR])
|
||||
writes--;
|
||||
if (writes > 0)
|
||||
return -EAGAIN;
|
||||
spin_lock(&fp->fi_lock);
|
||||
list_for_each_entry(co, &fp->fi_clnt_odstate, co_perfile) {
|
||||
if (co->co_client != clp) {
|
||||
spin_unlock(&fp->fi_lock);
|
||||
return -EAGAIN;
|
||||
}
|
||||
}
|
||||
spin_unlock(&fp->fi_lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct nfs4_delegation *
|
||||
nfs4_set_delegation(struct nfs4_client *clp, struct svc_fh *fh,
|
||||
struct nfs4_file *fp, struct nfs4_clnt_odstate *odstate)
|
||||
@@ -4984,12 +4959,9 @@ nfs4_set_delegation(struct nfs4_client *clp, struct svc_fh *fh,
|
||||
|
||||
nf = find_readable_file(fp);
|
||||
if (!nf) {
|
||||
/*
|
||||
* We probably could attempt another open and get a read
|
||||
* delegation, but for now, don't bother until the
|
||||
* client actually sends us one.
|
||||
*/
|
||||
return ERR_PTR(-EAGAIN);
|
||||
/* We should always have a readable file here */
|
||||
WARN_ON_ONCE(1);
|
||||
return ERR_PTR(-EBADF);
|
||||
}
|
||||
spin_lock(&state_lock);
|
||||
spin_lock(&fp->fi_lock);
|
||||
@@ -5019,19 +4991,11 @@ nfs4_set_delegation(struct nfs4_client *clp, struct svc_fh *fh,
|
||||
if (!fl)
|
||||
goto out_clnt_odstate;
|
||||
|
||||
status = nfsd4_check_conflicting_opens(clp, fp);
|
||||
if (status) {
|
||||
locks_free_lock(fl);
|
||||
goto out_clnt_odstate;
|
||||
}
|
||||
status = vfs_setlease(fp->fi_deleg_file->nf_file, fl->fl_type, &fl, NULL);
|
||||
if (fl)
|
||||
locks_free_lock(fl);
|
||||
if (status)
|
||||
goto out_clnt_odstate;
|
||||
status = nfsd4_check_conflicting_opens(clp, fp);
|
||||
if (status)
|
||||
goto out_clnt_odstate;
|
||||
|
||||
spin_lock(&state_lock);
|
||||
spin_lock(&fp->fi_lock);
|
||||
@@ -5113,6 +5077,17 @@ nfs4_open_delegation(struct svc_fh *fh, struct nfsd4_open *open,
|
||||
goto out_no_deleg;
|
||||
if (!cb_up || !(oo->oo_flags & NFS4_OO_CONFIRMED))
|
||||
goto out_no_deleg;
|
||||
/*
|
||||
* Also, if the file was opened for write or
|
||||
* create, there's a good chance the client's
|
||||
* about to write to it, resulting in an
|
||||
* immediate recall (since we don't support
|
||||
* write delegations):
|
||||
*/
|
||||
if (open->op_share_access & NFS4_SHARE_ACCESS_WRITE)
|
||||
goto out_no_deleg;
|
||||
if (open->op_create == NFS4_OPEN_CREATE)
|
||||
goto out_no_deleg;
|
||||
break;
|
||||
default:
|
||||
goto out_no_deleg;
|
||||
@@ -5389,7 +5364,7 @@ nfs4_laundromat(struct nfsd_net *nn)
|
||||
idr_for_each_entry(&nn->s2s_cp_stateids, cps_t, i) {
|
||||
cps = container_of(cps_t, struct nfs4_cpntf_state, cp_stateid);
|
||||
if (cps->cp_stateid.sc_type == NFS4_COPYNOTIFY_STID &&
|
||||
cps->cpntf_time > cutoff)
|
||||
cps->cpntf_time < cutoff)
|
||||
_free_cpntf_state_locked(nn, cps);
|
||||
}
|
||||
spin_unlock(&nn->s2s_cp_lock);
|
||||
|
||||
@@ -30,9 +30,6 @@
|
||||
#include <linux/percpu.h>
|
||||
#include <asm/module.h>
|
||||
|
||||
/* Not Yet Implemented */
|
||||
#define MODULE_SUPPORTED_DEVICE(name)
|
||||
|
||||
#define MODULE_NAME_LEN MAX_PARAM_PREFIX_LEN
|
||||
|
||||
struct modversion_info {
|
||||
|
||||
@@ -104,7 +104,6 @@ struct svcxprt_rdma {
|
||||
|
||||
wait_queue_head_t sc_send_wait; /* SQ exhaustion waitlist */
|
||||
unsigned long sc_flags;
|
||||
u32 sc_pending_recvs;
|
||||
struct list_head sc_read_complete_q;
|
||||
struct work_struct sc_work;
|
||||
|
||||
|
||||
@@ -702,7 +702,6 @@ MODULE_LICENSE("GPL");
|
||||
|
||||
MODULE_AUTHOR(BATADV_DRIVER_AUTHOR);
|
||||
MODULE_DESCRIPTION(BATADV_DRIVER_DESC);
|
||||
MODULE_SUPPORTED_DEVICE(BATADV_DRIVER_DEVICE);
|
||||
MODULE_VERSION(BATADV_SOURCE_VERSION);
|
||||
MODULE_ALIAS_RTNL_LINK("batadv");
|
||||
MODULE_ALIAS_GENL_FAMILY(BATADV_NL_NAME);
|
||||
|
||||
@@ -1825,11 +1825,14 @@ static int
|
||||
svcauth_gss_release(struct svc_rqst *rqstp)
|
||||
{
|
||||
struct gss_svc_data *gsd = (struct gss_svc_data *)rqstp->rq_auth_data;
|
||||
struct rpc_gss_wire_cred *gc = &gsd->clcred;
|
||||
struct rpc_gss_wire_cred *gc;
|
||||
struct xdr_buf *resbuf = &rqstp->rq_res;
|
||||
int stat = -EINVAL;
|
||||
struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id);
|
||||
|
||||
if (!gsd)
|
||||
goto out;
|
||||
gc = &gsd->clcred;
|
||||
if (gc->gc_proc != RPC_GSS_PROC_DATA)
|
||||
goto out;
|
||||
/* Release can be called twice, but we only wrap once. */
|
||||
@@ -1870,10 +1873,10 @@ out_err:
|
||||
if (rqstp->rq_cred.cr_group_info)
|
||||
put_group_info(rqstp->rq_cred.cr_group_info);
|
||||
rqstp->rq_cred.cr_group_info = NULL;
|
||||
if (gsd->rsci)
|
||||
if (gsd && gsd->rsci) {
|
||||
cache_put(&gsd->rsci->h, sn->rsc_cache);
|
||||
gsd->rsci = NULL;
|
||||
|
||||
gsd->rsci = NULL;
|
||||
}
|
||||
return stat;
|
||||
}
|
||||
|
||||
|
||||
@@ -1413,7 +1413,7 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv)
|
||||
|
||||
sendit:
|
||||
if (svc_authorise(rqstp))
|
||||
goto close;
|
||||
goto close_xprt;
|
||||
return 1; /* Caller can now send it */
|
||||
|
||||
release_dropit:
|
||||
@@ -1425,6 +1425,8 @@ release_dropit:
|
||||
return 0;
|
||||
|
||||
close:
|
||||
svc_authorise(rqstp);
|
||||
close_xprt:
|
||||
if (rqstp->rq_xprt && test_bit(XPT_TEMP, &rqstp->rq_xprt->xpt_flags))
|
||||
svc_close_xprt(rqstp->rq_xprt);
|
||||
dprintk("svc: svc_process close\n");
|
||||
@@ -1433,7 +1435,7 @@ release_dropit:
|
||||
err_short_len:
|
||||
svc_printk(rqstp, "short len %zd, dropping request\n",
|
||||
argv->iov_len);
|
||||
goto close;
|
||||
goto close_xprt;
|
||||
|
||||
err_bad_rpc:
|
||||
serv->sv_stats->rpcbadfmt++;
|
||||
|
||||
@@ -1060,7 +1060,7 @@ static int svc_close_list(struct svc_serv *serv, struct list_head *xprt_list, st
|
||||
struct svc_xprt *xprt;
|
||||
int ret = 0;
|
||||
|
||||
spin_lock(&serv->sv_lock);
|
||||
spin_lock_bh(&serv->sv_lock);
|
||||
list_for_each_entry(xprt, xprt_list, xpt_list) {
|
||||
if (xprt->xpt_net != net)
|
||||
continue;
|
||||
@@ -1068,7 +1068,7 @@ static int svc_close_list(struct svc_serv *serv, struct list_head *xprt_list, st
|
||||
set_bit(XPT_CLOSE, &xprt->xpt_flags);
|
||||
svc_xprt_enqueue(xprt);
|
||||
}
|
||||
spin_unlock(&serv->sv_lock);
|
||||
spin_unlock_bh(&serv->sv_lock);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user