diff options
| author | Hugues Fruchet <[email protected]> | 2018-02-06 08:24:09 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-02-23 03:12:19 -0500 |
| commit | 8670d70a4286fc9be47f4c9654e071bce97111f2 (patch) | |
| tree | bc3b27dd76dd567eb0d11380f0e06d7ad7c5b9fc /tools/perf/scripts/python | |
| parent | 41d8d7f517126fa104a67c2b0cc23cf5c12fadc4 (diff) | |
media: ov5640: fix virtual_channel parameter permissions
Fix module_param(virtual_channel) permissions.
This problem was detected by checkpatch:
$ scripts/checkpatch.pl -f drivers/media/i2c/ov5640.c
ERROR: Use 4 digit octal (0777) not decimal permissions
+module_param(virtual_channel, int, 0);
Also add an error trace in case of virtual_channel not in
the valid range of values.
Signed-off-by: Hugues Fruchet <[email protected]>
Reviewed-by: Jacopo Mondi <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions