diff options
| author | Sebastian Reichel <sre@kernel.org> | 2017-02-14 20:38:49 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-22 11:21:43 -0300 |
| commit | db0f4691d9749d5dd758b8636290cec8fd88aa26 (patch) | |
| tree | 0d064f4cc992770d0208b88fabcc8c963e14680d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 974f4a385cbf7fe056b51b39f7ef8cbf9528a57c (diff) | |
| download | linux-db0f4691d9749d5dd758b8636290cec8fd88aa26.tar.gz linux-db0f4691d9749d5dd758b8636290cec8fd88aa26.zip | |
[media] v4l: Allow calling v4l2_device_register_subdev_nodes() multiple times
Previously multiple calls to v4l2_device_register_subdev_nodes() ended up
corrupting memory and leaking some, too. This patch changes the behaviour so
that sub-devices the device nodes of which are already registered are
ignored.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
