Catégorie : Linux

[media] drivers/media/usb/dvb-usb-v2: constify mxl111sf_tuner_config structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> This mxl111sf_tuner_config structure is never modified, so declare it as const. There are some indentation changes to remain within 80 columns. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Reviewed-by: Michael Ira Krufky Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c | 6 +++— drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h | 8 ++++—- drivers/media/usb/dvb-usb-v2/mxl111sf.c …

Lire la suite

[media] av7110: constify sp8870_config structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> This sp8870_config structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/pci/ttpci/av7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/media/pci/ttpci/av7110.c b/drivers/media/pci/ttpci/av7110.c index a69dc6a..18d229f 100644 — a/drivers/media/pci/ttpci/av7110.c +++ b/drivers/media/pci/ttpci/av7110.c …

Lire la suite

igb: constify e1000_phy_operations structure

Author: Julia Lawall <julia.lawall@lip6.fr> This e1000_phy_operations structure is never modified, so declare it as const. Other structures of this type are already const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher — drivers/net/ethernet/intel/igb/e1000_82575.c | 2 +- drivers/net/ethernet/intel/igb/e1000_hw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)   …

Lire la suite

Input: bma150 – constify bma150_cfg structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The bma150_cfg structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Dmitry Torokhov — drivers/input/misc/bma150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/input/misc/bma150.c b/drivers/input/misc/bma150.c index 1d0e61d..b0d4453 100644 — a/drivers/input/misc/bma150.c +++ b/drivers/input/misc/bma150.c @@ -147,7 +147,7 @@ …

Lire la suite

staging/lustre/llite: constify export_operations structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> This export_operations structure is never modified, so declare it as const. Most other structures of this type are already const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/llite_internal.h | 2 +- drivers/staging/lustre/lustre/llite/llite_nfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)   diff –git …

Lire la suite

OrangeFS: constify export_operations structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> This export_operations structure is never modified, so declare it as const. Most other structures of this type are already const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Mike Marshall — fs/orangefs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/fs/orangefs/super.c b/fs/orangefs/super.c index 52bc522..bee67b3 …

Lire la suite

staging: lustre: obdecho: constify lu_device_operations and cl_device_operations structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> These lu_device_operations and cl_device_operations structures are never modified, so declare them as const. Other structures of these types are already const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdecho/echo_client.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/staging/lustre/lustre/obdecho/echo_client.c b/drivers/staging/lustre/lustre/obdecho/echo_client.c index …

Lire la suite

quota: constify qtree_fmt_operations structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The qtree_fmt_operations structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Jan Kara — fs/ocfs2/quota.h | 2 +- fs/ocfs2/quota_global.c | 2 +- fs/quota/quota_v2.c | 4 ++– include/linux/dqblk_qtree.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)   diff –git a/fs/ocfs2/quota.h …

Lire la suite

drm/dp/mst: constify drm_dp_mst_topology_cbs structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The drm_dp_mst_topology_cbs structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Daniel Vetter — drivers/gpu/drm/i915/intel_dp_mst.c | 2 +- drivers/gpu/drm/radeon/radeon_dp_mst.c | 2 +- include/drm/drm_dp_mst_helper.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index e8d369d..9ae1a4f 100644 …

Lire la suite

rtc: rtc-ds2404: constify ds2404_chip_ops structures

Author: Julia Lawall <julia.lawall@lip6.fr> The ds2404_chip_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Alexandre Belloni — drivers/rtc/rtc-ds2404.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/rtc/rtc-ds2404.c b/drivers/rtc/rtc-ds2404.c index 7885edd..16310fe 100644 — a/drivers/rtc/rtc-ds2404.c +++ b/drivers/rtc/rtc-ds2404.c @@ -48,7 +48,7 @@ …

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.