diff options
author | Andy Walls <awalls@radix.net> | 2009-09-05 10:58:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 12:20:15 -0300 |
commit | 78f2e672b37ae8935ec0b97cedbc2d877ffa0c5f (patch) | |
tree | 1adcd5ce3515fd003d7336db668c27db3b0c53b5 /crypto/ccm.c | |
parent | d2ebd0f806fdb6104903365e355675934eec22b2 (diff) | |
download | linux-3.10-78f2e672b37ae8935ec0b97cedbc2d877ffa0c5f.tar.gz linux-3.10-78f2e672b37ae8935ec0b97cedbc2d877ffa0c5f.tar.bz2 linux-3.10-78f2e672b37ae8935ec0b97cedbc2d877ffa0c5f.zip |
V4L/DVB (12699): cx18: ir-kbd-i2c initialization data should point to a persistent object
ir-kbd-i2c's ir_probe() function can be called much later (i.e. at ir-kbd-i2c
module load), than the lifetime of a struct IR_i2c_init_data allocated off of
the stack in cx18_i2c_new_ir() at registration time. Make sure we pass
a pointer to a persistent IR_i2c_init_data object at i2c registration time.
Thanks to Brian Rogers for pointing out a solution, and Dustin Mitchell for
testing against a 2.6.30 kernel.
Reported-by: Dustin Mitchell <soxslayer@gmail.com>
Reported-by: Brian Rogers <brian@xyzw.org>
Tested-by: Dustin Mitchell <soxslayer@gmail.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions