linux/drivers/media/dvb-frontends
Kees Cook 6396bb2215 treewide: kzalloc() -> kcalloc()
The kzalloc() function has a 2-factor argument form, kcalloc(). This
patch replaces cases of:

        kzalloc(a * b, gfp)

with:
        kcalloc(a * b, gfp)

as well as handling cases of:

        kzalloc(a * b * c, gfp)

with:

        kzalloc(array3_size(a, b, c), gfp)

as it's slightly less ugly than:

        kzalloc_array(array_size(a, b), c, gfp)

This does, however, attempt to ignore constant size factors like:

        kzalloc(4 * 1024, gfp)

though any constants defined via macros get caught up in the conversion.

Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.

The Coccinelle script used for this was:

// Fix redundant parens around sizeof().
@@
type TYPE;
expression THING, E;
@@

(
  kzalloc(
-	(sizeof(TYPE)) * E
+	sizeof(TYPE) * E
  , ...)
|
  kzalloc(
-	(sizeof(THING)) * E
+	sizeof(THING) * E
  , ...)
)

// Drop single-byte sizes and redundant parens.
@@
expression COUNT;
typedef u8;
typedef __u8;
@@

(
  kzalloc(
-	sizeof(u8) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(__u8) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(char) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(unsigned char) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(u8) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(__u8) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(char) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(unsigned char) * COUNT
+	COUNT
  , ...)
)

// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@

(
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (COUNT_ID)
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * COUNT_ID
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (COUNT_CONST)
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * COUNT_CONST
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (COUNT_ID)
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * COUNT_ID
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (COUNT_CONST)
+	COUNT_CONST, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * COUNT_CONST
+	COUNT_CONST, sizeof(THING)
  , ...)
)

// 2-factor product, only identifiers.
@@
identifier SIZE, COUNT;
@@

- kzalloc
+ kcalloc
  (
-	SIZE * COUNT
+	COUNT, SIZE
  , ...)

// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@

(
  kzalloc(
-	sizeof(TYPE) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(THING) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
)

// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@

(
  kzalloc(
-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kzalloc(
-	sizeof(THING1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(THING1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
)

// 3-factor product, only identifiers, with redundant parens removed.
@@
identifier STRIDE, SIZE, COUNT;
@@

(
  kzalloc(
-	(COUNT) * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
)

// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression E1, E2, E3;
constant C1, C2, C3;
@@

(
  kzalloc(C1 * C2 * C3, ...)
|
  kzalloc(
-	(E1) * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	(E1) * (E2) * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	(E1) * (E2) * (E3)
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	E1 * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
)

// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@

(
  kzalloc(sizeof(THING) * C2, ...)
|
  kzalloc(sizeof(TYPE) * C2, ...)
|
  kzalloc(C1 * C2 * C3, ...)
|
  kzalloc(C1 * C2, ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (E2)
+	E2, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * E2
+	E2, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (E2)
+	E2, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * E2
+	E2, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	(E1) * E2
+	E1, E2
  , ...)
|
- kzalloc
+ kcalloc
  (
-	(E1) * (E2)
+	E1, E2
  , ...)
|
- kzalloc
+ kcalloc
  (
-	E1 * E2
+	E1, E2
  , ...)
)

Signed-off-by: Kees Cook <keescook@chromium.org>
2018-06-12 16:19:22 -07:00
..
cxd2880 media: cxd2880: Changed version information 2018-05-05 10:38:18 -04:00
drx39xyj media: drx-j remove bsp_i2c.h 2018-03-06 08:21:03 -05:00
a8293.c [media] dvb-frontends: Drop owner assignment from i2c_driver 2015-08-11 12:58:20 -03:00
a8293.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
af9013_priv.h media: af9013: add i2c mux adapter for tuner bus 2018-03-21 14:09:50 -04:00
af9013.c media: af9013: add pid filter support 2018-03-21 14:11:54 -04:00
af9013.h media: af9013: add pid filter support 2018-03-21 14:11:54 -04:00
af9033_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
af9033.c [media] af9033: estimate cnr from formula 2017-01-31 10:52:23 -02:00
af9033.h [media] af9033: return regmap for integrated IT913x tuner driver 2017-01-31 10:48:14 -02:00
as102_fe_types.h
as102_fe.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
as102_fe.h media: update/fix my e-mail on some places 2018-05-10 07:27:15 -04:00
ascot2e.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
ascot2e.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
atbm8830_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
atbm8830.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
atbm8830.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au8522_common.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
au8522_decoder.c media: au8522: remove duplicate code 2018-05-28 16:26:38 -04:00
au8522_dig.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
au8522_priv.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
au8522.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
bcm3510_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bcm3510.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bcm3510.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bsbe1-d01a.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bsbe1.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
bsru6.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx22700.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cx22700.h
cx22702.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cx22702.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
cx24110.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cx24110.h
cx24113.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cx24113.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx24116.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
cx24116.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
cx24117.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
cx24117.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
cx24120.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
cx24120.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
cx24123.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
cx24123.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
cxd2099.c media: ddbridge, cxd2099: include guard, fix unneeded NULL init, strings 2018-05-04 14:20:24 -04:00
cxd2099.h media: ddbridge, cxd2099: include guard, fix unneeded NULL init, strings 2018-05-04 14:20:24 -04:00
cxd2820r_c.c [media] cxd2820r: convert to regmap api 2016-09-22 10:43:09 -03:00
cxd2820r_core.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
cxd2820r_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cxd2820r_t2.c [media] cxd2820r: convert to regmap api 2016-09-22 10:43:09 -03:00
cxd2820r_t.c [media] cxd2820r: convert to regmap api 2016-09-22 10:43:09 -03:00
cxd2820r.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
cxd2841er_priv.h [media] dvb-frontends/cxd2841er: support CXD2837/38/43ER demods/Chip IDs 2017-06-20 09:40:55 -03:00
cxd2841er.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cxd2841er.h [media] dvb-frontends/cxd2841er: more configurable TSBITS 2017-06-20 09:56:11 -03:00
dib0070.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dib0070.h
dib0090.c media: ABS macro parameter parenthesization 2018-03-06 04:08:17 -05:00
dib0090.h
dib3000.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dib3000mb_priv.h [media] dib3000mb: use pr_foo() instead of printk() 2016-11-18 09:47:48 -02:00
dib3000mb.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dib3000mc.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dib3000mc.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
dib7000m.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dib7000m.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dib7000p.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
dib7000p.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dib8000.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
dib8000.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dib9000.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
dib9000.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dibx000_common.c media: dibx000_common: use strlcpy() instead of strncpy() 2018-03-06 06:05:53 -05:00
dibx000_common.h media: ABS macro parameter parenthesization 2018-03-06 04:08:17 -05:00
drxd_firm.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
drxd_firm.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
drxd_hard.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
drxd_map_firm.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
drxd.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
drxk_hard.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
drxk_hard.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
drxk_map.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
drxk.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
ds3000.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
ds3000.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
dvb_dummy_fe.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dvb_dummy_fe.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
dvb-pll.c media: dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc 2018-05-05 07:19:32 -04:00
dvb-pll.h media: dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc 2018-05-05 07:19:32 -04:00
ec100.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
ec100.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
eds1547.h
gp8psk-fe.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
gp8psk-fe.h gp8psk: Fix DVB frontend attach 2016-11-13 10:02:22 -08:00
helene.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
helene.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
horus3a.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
horus3a.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
isl6405.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
isl6405.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
isl6421.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
isl6421.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
isl6423.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
isl6423.h
itd1000_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
itd1000.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
itd1000.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ix2505v.c media: ix2505v: get rid of /** comments 2017-11-30 04:18:57 -05:00
ix2505v.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
Kconfig media: ddbridge, cxd2099: include guard, fix unneeded NULL init, strings 2018-05-04 14:20:24 -04:00
l64781.c media: dvb_frontends: fix spelling mistake: "unexpcted" -> "unexpected" 2018-05-11 11:38:39 -04:00
l64781.h
lg2160.c media: dvb_frontend: get rid of get_property() callback 2017-10-11 12:51:36 -04:00
lg2160.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lgdt330x_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lgdt330x.c media: lgdt330x: don't use an uninitialized state 2018-05-04 11:17:58 -04:00
lgdt330x.h media: lgdt330x.h: fix compiler warning 2018-05-11 11:40:09 -04:00
lgdt3305.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lgdt3305.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lgdt3306a.c media: lgdt3306a: fix lgdt3306a_search()'s return type 2018-05-05 10:21:17 -04:00
lgdt3306a.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lgs8gl5.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lgs8gl5.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
lgs8gxx_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lgs8gxx.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lgs8gxx.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lnbh24.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lnbh25.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lnbh25.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
lnbp21.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lnbp21.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
lnbp22.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
lnbp22.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
m88ds3103_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
m88ds3103.c media: m88ds3103: don't call a non-initalized function 2018-02-23 05:22:32 -05:00
m88ds3103.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
m88rs2000.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
m88rs2000.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
Makefile media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
mb86a16_priv.h
mb86a16.c media: ABS macro parameter parenthesization 2018-03-06 04:08:17 -05:00
mb86a16.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mb86a20s.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
mb86a20s.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
mn88472_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mn88472.c media: mn88472: reset stream ID reg if no PLP given 2017-08-27 18:06:34 -04:00
mn88472.h media: dvb_frontends: fix kernel-doc macros 2017-11-30 04:19:04 -05:00
mn88473_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mn88473.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
mn88473.h [media] mn88473: finalize driver 2016-03-03 09:26:05 -03:00
mt312_priv.h
mt312.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mt312.h
mt352_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mt352.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mt352.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl5xx_defs.h media: dvb-frontends: MaxLinear MxL5xx DVB-S/S2 tuner-demodulator driver 2017-08-20 07:25:09 -04:00
mxl5xx_regs.h media: dvb-frontends: MaxLinear MxL5xx DVB-S/S2 tuner-demodulator driver 2017-08-20 07:25:09 -04:00
mxl5xx.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
mxl5xx.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
nxt200x.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
nxt200x.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
nxt6000_priv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nxt6000.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
nxt6000.h
or51132.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
or51132.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
or51211.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
or51211.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
rtl2830_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
rtl2830.c [media] dvb: make DVB frontend *_ops instances "const" 2016-11-18 15:00:22 -02:00
rtl2830.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
rtl2832_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
rtl2832_sdr.c [media] media: dvb-frontends: constify vb2_ops structure 2017-02-03 14:23:39 -02:00
rtl2832_sdr.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
rtl2832.c media: rtl2832: use 64-bit arithmetic instead of 32-bit in rtl2832_set_frontend 2018-02-26 08:07:13 -05:00
rtl2832.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
s5h1409.c media: s5h14*.h: fix typos for CONTINUOUS 2018-03-06 05:15:02 -05:00
s5h1409.h media: s5h14*.h: fix typos for CONTINUOUS 2018-03-06 05:15:02 -05:00
s5h1411.c media: s5h14*.h: fix typos for CONTINUOUS 2018-03-06 05:15:02 -05:00
s5h1411.h media: s5h14*.h: fix typos for CONTINUOUS 2018-03-06 05:15:02 -05:00
s5h1420_priv.h
s5h1420.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
s5h1420.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
s5h1432.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
s5h1432.h media: s5h14*.h: fix typos for CONTINUOUS 2018-03-06 05:15:02 -05:00
s921.c media: frontends: fix ops get_algo()'s return type 2018-05-05 10:11:35 -04:00
s921.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
si21xx.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
si21xx.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
si2165_priv.h media: si2165: add DVBv5 BER statistics 2017-12-12 05:52:58 -05:00
si2165.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
si2165.h media: si2165: Make checkpatch happy 2017-12-12 05:33:18 -05:00
si2168_priv.h media: si2168: Add spectrum inversion property 2018-03-06 07:40:14 -05:00
si2168.c media: si2168: fix a comment about firmware version 2018-03-08 06:06:49 -05:00
si2168.h media: si2168: Add spectrum inversion property 2018-03-06 07:40:14 -05:00
sp2_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
sp2.c media: drivers: Adjust checks for null pointers 2017-09-23 08:20:57 -04:00
sp2.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
sp887x.c media: sp887x: fix a warning 2018-03-23 06:54:32 -04:00
sp887x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sp8870.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
sp8870.h
stb0899_algo.c media: stb0899: remove redundant self assignment of k_indirect 2017-12-13 08:02:25 -05:00
stb0899_cfg.h
stb0899_drv.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stb0899_drv.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stb0899_priv.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stb0899_reg.h media: v4l: dvb-frontends: stb0899: fix comparison to bitshift when dealing with a mask 2018-03-06 08:30:10 -05:00
stb6000.c Revert "[media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations" 2016-11-18 20:44:33 -02:00
stb6000.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stb6100_cfg.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stb6100_proc.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stb6100.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stb6100.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv090x_priv.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stv090x_reg.h
stv090x.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stv090x.h
stv0288.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0288.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0297.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0297.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0299.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0299.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0367_defs.h [media] dvb-frontends/stv0367: add defaults for use w/DD-branded devices 2017-06-20 09:26:16 -03:00
stv0367_priv.h media: ABS macro parameter parenthesization 2018-03-06 04:08:17 -05:00
stv0367_regs.h [media] dvb-frontends/stv0367: refactor defaults table handling 2017-06-20 09:19:58 -03:00
stv0367.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0367.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0900_core.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stv0900_init.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stv0900_priv.h media: ABS macro parameter parenthesization 2018-03-06 04:08:17 -05:00
stv0900_reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
stv0900_sw.c media: ABS macro parameter parenthesization 2018-03-06 04:08:17 -05:00
stv0900.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv0910_regs.h media: frontends/stv0910: add field offsets to field defines 2017-12-13 08:34:33 -05:00
stv0910.c media: dvb-frontends/stv0910: make TS speed configurable 2018-05-28 17:46:04 -04:00
stv0910.h media: dvb-frontends/stv0910: make TS speed configurable 2018-05-28 17:46:04 -04:00
stv6110.c media: stv6110: get rid of a srate dead code 2017-10-11 12:49:20 -04:00
stv6110.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv6110x_priv.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stv6110x_reg.h
stv6110x.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
stv6110x.h [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
stv6111.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
stv6111.h media: dvb-frontends/stv6111: coding style cleanup 2017-08-20 07:20:04 -04:00
tc90522.c media: dvb-frontends/tc90522: use SPDX License Identifier 2018-05-04 14:44:30 -04:00
tc90522.h media: dvb-frontends/tc90522: use SPDX License Identifier 2018-05-04 14:44:30 -04:00
tda665x.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda665x.h
tda826x.c Revert "[media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations" 2016-11-18 20:44:33 -02:00
tda826x.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda1002x.h
tda1004x.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda1004x.h
tda8083.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda8083.h
tda8261_cfg.h [media] tda8261: don't use set_state/get_state callbacks 2015-11-17 06:43:59 -02:00
tda8261.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda8261.h
tda10021.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda10023.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
tda10048.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda10048.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
tda10071_priv.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda10071.c [media] dvb: make DVB frontend *_ops instances "const" 2016-11-18 15:00:22 -02:00
tda10071.h media: dvb-frontends: complete kernel-doc markups 2017-11-30 04:19:05 -05:00
tda10086.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda10086.h
tda18271c2dd_maps.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tda18271c2dd.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tda18271c2dd.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
tdhd1.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ts2020.c media: ts2020: avoid integer overflows on 32 bit machines 2018-01-29 07:46:46 -05:00
ts2020.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
tua6100.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
tua6100.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
ves1x93.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
ves1x93.h
ves1820.c media: dvb-frontends: ves1820: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:07:38 -05:00
ves1820.h
z0194a.h
zd1301_demod.c media: zd1301_demod: constify i2c_algorithm structure 2017-07-20 14:58:10 -04:00
zd1301_demod.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
zl10036.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
zl10036.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
zl10039.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
zl10039.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
zl10353_priv.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
zl10353.c media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
zl10353.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00