diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2015-12-03 09:54:12 +0800 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-01-22 21:40:03 +0000 |
commit | 4942dccb5d2ca761c835dc2e07d3604f60771473 (patch) | |
tree | 824bbd7224e04a982628ef41873d92a04029a3e6 /crypto | |
parent | f41bb6edb46b30f79ae7fc5d714faa607758a8d5 (diff) |
video: fbdev: fsl: Fix kernel crash when diu_ops is not implemented
commit acfc1cc13fe5bc6d7a10afa624f1e560850ddad3 upstream.
If diu_ops is not implemented on platform, kernel will access a NULL
pointer. We need to check this pointer in DIU initialization.
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions