diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2024-12-10 20:25:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-30 13:20:24 -0600 |
commit | a59887d251307ad4ebc194b58ddb5af003e8fe06 (patch) | |
tree | ccbebb7203f209bb05c1a36d449f648dc71a716b /drivers/ddr/marvell/axp/ddr3_hw_training.c | |
parent | 7f296a9a707071277615e5957b89ebc4c24ee137 (diff) |
lmb: Fix flags data type in lmb_add_region_flags()
rgnflags variable in lmb_add_region_flags() has incorrect type: it's
declared as phys_size_t when it should be enum lmb_flags. That
copy-paste mistake was firstly introduced in commit 59c0ea5df33f ("lmb:
Add support of flags for no-map properties"), and then copied further
into commit ed17a33fed29 ("lmb: make LMB memory map persistent and
global"). Fix it by using the correct type to match struct lmb_region
field.
No functional change.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'drivers/ddr/marvell/axp/ddr3_hw_training.c')
0 files changed, 0 insertions, 0 deletions