/linux/drivers/media/dvb-frontends/ |
H A D | stb6000.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | tda826x.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | ascot2e.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | horus3a.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | tda8261.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | helene.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | tda665x.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | ix2505v.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | zl10039.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | tua6100.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | zl10036.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | stv6110.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | stv6110x.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | stb6100.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | tda18271c2dd.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | dvb-pll.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
H A D | ts2020.c | diff 14c4bf3c6f7d76d2b2b50cc82f6830d6948f6faa Sun Sep 11 16:44:12 CEST 2016 Julia Lawall <Julia.Lawall@lip6.fr> [media] dvb-frontends: constify dvb_tuner_ops structures
These structures are only used to copy into other structures, so declare them as const.
The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)
// <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct dvb_tuner_ops i@p = { ... };
@ok1@ identifier r.i; expression e; position p; @@ e = i@p
@ok2@ identifier r.i; expression e1, e2; position p; @@ memcpy(e1, &i@p, e2)
@bad@ position p != {r.p,ok1.p,ok2.p}; identifier r.i; struct dvb_tuner_ops e; @@ e@i@p
@depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct dvb_tuner_ops i = { ... }; // </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|