| 279c075d | 09-Jan-2020 |
Rijo Thomas <[email protected]> |
tee: amdtee: remove redundant NULL check for pool
Remove NULL check for pool variable, since in the current code path it is guaranteed to be non-NULL.
Reported-by: Dan Carpenter <dan.carpenter@orac
tee: amdtee: remove redundant NULL check for pool
Remove NULL check for pool variable, since in the current code path it is guaranteed to be non-NULL.
Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Rijo Thomas <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
show more ...
|
| 29290155 | 09-Jan-2020 |
Rijo Thomas <[email protected]> |
tee: amdtee: skip tee_device_unregister if tee_device_alloc fails
Currently, if tee_device_alloc() fails, then tee_device_unregister() is a no-op. Therefore, skip the function call to tee_device_unr
tee: amdtee: skip tee_device_unregister if tee_device_alloc fails
Currently, if tee_device_alloc() fails, then tee_device_unregister() is a no-op. Therefore, skip the function call to tee_device_unregister() by introducing a new goto label 'err_free_pool'.
Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Rijo Thomas <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
show more ...
|
| f4c58c37 | 09-Jan-2020 |
Rijo Thomas <[email protected]> |
tee: amdtee: print error message if tee not present
If there is no TEE with which the driver can communicate, then print an error message and return.
Suggested-by: Dan Carpenter <dan.carpenter@orac
tee: amdtee: print error message if tee not present
If there is no TEE with which the driver can communicate, then print an error message and return.
Suggested-by: Dan Carpenter <[email protected]> Signed-off-by: Rijo Thomas <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
show more ...
|