Catégorie : Linux

ALSA: i2c: constify snd_i2c_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The snd_i2c_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Takashi Iwai — include/sound/i2c.h | 2 +- sound/i2c/i2c.c | 2 +- sound/pci/ice1712/delta.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)   diff –git a/include/sound/i2c.h b/include/sound/i2c.h index d125ff8..835254d 100644 …

Lire la suite

drm/radeon: constify radeon_asic_ring structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The radeon_asic_ring structures are never modified, so declare them as const. Done with the help of Coccinelle. Reviewed-by: Christian König Signed-off-by: Julia Lawall Signed-off-by: Alex Deucher — drivers/gpu/drm/radeon/radeon.h | 2 +- drivers/gpu/drm/radeon/radeon_asic.c | 38 ++++++++++++++++++—————— 2 files changed, 20 insertions(+), 20 deletions(-)   diff –git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index b6cbd81..cf09102 100644 — …

Lire la suite

ALSA: pcm: constify action_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The action_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Reviewed-by: Takashi Sakamoto Tested-by: Takashi Sakamoto Signed-off-by: Takashi Iwai — sound/core/pcm_native.c | 26 +++++++++++++————- 1 file changed, 13 insertions(+), 13 deletions(-)   diff –git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index a8b27cd..fadd3eb 100644 — a/sound/core/pcm_native.c …

Lire la suite

mailbox: constify mbox_chan_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> This mbox_chan_ops structure is never modified, so declare it as const, like all the other mbox_chan_ops structures. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Jassi Brar — drivers/mailbox/mailbox-sti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/mailbox/mailbox-sti.c b/drivers/mailbox/mailbox-sti.c index 4835817..2394cfe 100644 — a/drivers/mailbox/mailbox-sti.c …

Lire la suite

x86/platform/calgary: Constify cal_chipset_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The cal_chipset_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Jon D. Mason Cc: Linus Torvalds Cc: Muli Ben-Yehuda Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1448726295-10959-1-git-send-email-Julia.Lawall@lip6.fr Signed-off-by: Ingo Molnar — arch/x86/include/asm/calgary.h | …

Lire la suite

IB/iser: constify iser_reg_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The iser_reg_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Acked-by: Sagi Grimberg Signed-off-by: Doug Ledford — drivers/infiniband/ulp/iser/iscsi_iser.h | 2 +- drivers/infiniband/ulp/iser/iser_memory.c | 4 ++– 2 files changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index d3f5255..aeaa758 100644 — …

Lire la suite

USB: constify usb_mon_operations structure

Author: Julia Lawall <julia.lawall@lip6.fr> The usb_mon_operations structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/usb/core/hcd.c | 4 ++– drivers/usb/mon/mon_main.c | 2 +- include/linux/usb/hcd.h | 4 ++– 3 files changed, 5 insertions(+), 5 deletions(-)   diff –git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 1c102d6..df0e3b9 100644 …

Lire la suite

xen/grant-table: constify gnttab_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The gnttab_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: David Vrabel — drivers/xen/grant-table.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index c49f79e..effbaf9 100644 — a/drivers/xen/grant-table.c +++ b/drivers/xen/grant-table.c @@ -128,7 +128,7 @@ …

Lire la suite

spi: dw-mid: constify dw_spi_dma_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The dw_spi_dma_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Acked-by: Andy Shevchenko Signed-off-by: Mark Brown — drivers/spi/spi-dw-mid.c | 2 +- drivers/spi/spi-dw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/spi/spi-dw-mid.c b/drivers/spi/spi-dw-mid.c index bb1052e..9185f6c 100644 — …

Lire la suite

RDMA/nes: constify nes_cm_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The nes_cm_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Doug Ledford — drivers/infiniband/hw/nes/nes_cm.c | 2 +- drivers/infiniband/hw/nes/nes_cm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/infiniband/hw/nes/nes_cm.c b/drivers/infiniband/hw/nes/nes_cm.c index bc37adb..179490d 100644 — a/drivers/infiniband/hw/nes/nes_cm.c +++ b/drivers/infiniband/hw/nes/nes_cm.c …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.