diff options
| author | Will Deacon <will@kernel.org> | 2020-04-14 22:40:08 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-05-13 15:32:00 -0700 |
| commit | ed894bf5a76357eb92045c79d6ae2f29814c6183 (patch) | |
| tree | ec6be112260522d754fcb39d4f59ed1c10feddef /drivers/fpga/fpga-mgr.c | |
| parent | 24085f70a6e1b0cb647ec92623284641d8270637 (diff) | |
sparc32: mm: Fix argument checking in __srmmu_get_nocache()
The 'size' argument to __srmmu_get_nocache() is a number of bytes not
a shift value, so fix up the sanity checking to treat it properly.
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
