diff options
| author | Dan Carpenter <[email protected]> | 2017-02-03 13:30:40 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2017-02-03 22:33:55 +0200 |
| commit | 70ea163699b68963e222a905e184f6436e8a290d (patch) | |
| tree | 80821aaaa0c0402158a769ad88c03d7437c3069c /drivers/media/platform/vimc/vimc-sensor.h | |
| parent | a118cf2a5b5a0d4541d04e8e8fcde8564803330c (diff) | |
tpm: silence an array overflow warning
We should check that we're within bounds first before checking that
"chip->active_banks[i] != TPM2_ALG_ERROR" so I've re-ordered the two
checks.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.h')
0 files changed, 0 insertions, 0 deletions