commit | b465ea60a53e00781da4bcdfd9f0d88589ab1c2c | [log] [tgz] |
---|---|---|
author | Lina Iyer <ilina@codeaurora.org> | Wed May 03 15:27:22 2017 -0600 |
committer | Lina Iyer <ilina@codeaurora.org> | Thu May 04 15:52:32 2017 -0600 |
tree | 621776e8a1ee3a362da19d26ba29713646e73959 | |
parent | e40d860d25652261d868ffebcbafef810ffb577d [diff] |
drivers: mailbox: qti-tcs: Optimize looping When looping over a unsigned int that represents a bit mask, reduce the number of iterations, by looping only through the relevant value. This would avoid a possible out of bound access. Change-Id: I42cfe85353d57ddcaeea42fdc56b0ac7a102b505 Signed-off-by: Lina Iyer <ilina@codeaurora.org>