commit | fe3d48432b3b7aca1143e8b8dda87b2393d3fd4e | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Fri Oct 23 17:49:11 2015 -0700 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Oct 24 23:41:21 2016 +0800 |
tree | 092fb82763e50d25fd33f6c3a4976a13677b8753 | |
parent | 585f3f9cd0f570d6d7aff3750447512146159d4e [diff] |
uid_cputime: Check for the range while removing range of UIDs. Checking if the uid_entry->uid matches the uid intended to be removed will prevent deleting unwanted uid_entry. Type cast the key for the hashtable to the same size, as when they were inserted. This will make sure that we can find the uid_entry we want. Bug: 25195548 Change-Id: I567942123cfb20e4b61ad624da19ec4cc84642c1 Signed-off: Ruchi kandoi <kandoiruchi@google.com>