diff options
| author | Amit Sunil Dhamne <[email protected]> | 2020-11-24 05:52:41 +0000 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2020-11-24 14:13:54 +0000 |
| commit | acfdd18591eaac25446e976a0c0d190f8b3dbfb1 (patch) | |
| tree | dd3ee92815329015132c280e6c802237c3266570 /fs/jbd2/commit.c | |
| parent | firmware: xilinx: Fix SD DLL node reset issue (diff) | |
| download | kernel-acfdd18591eaac25446e976a0c0d190f8b3dbfb1.tar.gz kernel-acfdd18591eaac25446e976a0c0d190f8b3dbfb1.zip | |
firmware: xilinx: Use hash-table for api feature check
Currently array of fix length PM_API_MAX is used to cache
the pm_api version (valid or invalid). However ATF based
PM APIs values are much higher then PM_API_MAX.
So to include ATF based PM APIs also, use hash-table to
store the pm_api version status.
Signed-off-by: Amit Sunil Dhamne <[email protected]>
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ravi Patel <[email protected]>
Signed-off-by: Rajan Vaja <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Tested-by: Michal Simek <[email protected]>
Fixes: f3217d6f2f7a ("firmware: xilinx: fix out-of-bounds access")
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
