diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-01-04 18:58:27 -0800 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-01-04 19:12:20 -0800 |
| commit | 00d283019bf1366a5e914e83224de6c214d41c13 (patch) | |
| tree | 4e94335626be8c38df1434662aebf40b6a1f3d0d /kernel/trace/trace_functions_graph.c | |
| parent | 9862ec5a2ed0b8adc9d9905720d2a86496b844bd (diff) | |
leds: qpnp-flash-v2: fix a possible NULL pointer access
qpnp_flash_led_prepare() is a global function used by clients
like camera flash driver. Add a check to validate the trigger
pointer before using it to obtain LED class device.
Change-Id: I72c0690c13629cb3dd2ef6b9fd084835e58aa410
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
