From: Stephen Hemminger Date: Fri, 6 Jun 2014 23:50:35 +0000 (-0700) Subject: igb_uio: make irq mode param read-only X-Git-Tag: spdx-start~10515 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=32e21f21356eca9b3713a9fde658c0e054a791e4;p=dpdk.git igb_uio: make irq mode param read-only The module parameter is read-only since changing mode after loading isn't going to work. Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon --- diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index a94d998548..d6eff4b5a3 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -750,7 +750,7 @@ igbuio_pci_exit_module(void) module_init(igbuio_pci_init_module); module_exit(igbuio_pci_exit_module); -module_param(intr_mode, charp, S_IRUGO | S_IWUSR); +module_param(intr_mode, charp, S_IRUGO); MODULE_PARM_DESC(intr_mode, "igb_uio interrupt mode (default=msix):\n" " " RTE_INTR_MODE_MSIX_NAME " Use MSIX interrupt\n"