Searched hist:"80868 c8e5c04bb725e411b078881b65ebbecd142" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/media/dvb-frontends/ |
H A D | ts2020.c | diff 80868c8e5c04bb725e411b078881b65ebbecd142 Thu Apr 02 13:03:11 CEST 2015 David Howells <dhowells@redhat.com> [media] ts2020: Add a comment about lifetime of on-stack pdata in ts2020_attach()
ts2020_attach() allocates a variable pdata on the stack and then passes a pointer to it to i2c_new_device() which stashes the pointer in persistent structures.
Add a comment to the effect that this isn't actually an error because the contents of the variable are only used in ts2020_probe() and this is only called ts2020_attach()'s stack frame exists.
Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|