commit | a73ed097420c53451e843ae61d9aadc8fefabc94 | [log] [tgz] |
---|---|---|
author | Jordan Crouse <jcrouse@codeaurora.org> | Tue Jan 24 15:40:22 2012 -0700 |
committer | Jordan Crouse <jcrouse@codeaurora.org> | Fri Jan 27 08:16:34 2012 -0700 |
tree | 2de85ca58404f0eb5b977858b7132e149e18122f | |
parent | 1484f46cd13597ba4522538376cbf4d514ea977f [diff] |
base: genlock: Check for instances where handle is NULL Check for the possibility of NULL handles passed into the in-kernel API functions and return error where appropriate. There is a non-zero chance that the private_data will be cleared while the FD is still active, so check in the ioctl() function as well. CRs-fixed: 332835 Change-Id: Ic0dedbada2713080fef79ca188a87c578bec6d2f Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>