diff options
| author | 2023-04-15 04:17:53 -0700 | |
|---|---|---|
| committer | 2023-10-19 17:16:20 +1100 | |
| commit | b28d1ccf921a4333be14017d82066386d419e638 (patch) | |
| tree | 4ed650662136f5a7db9098c66f8c446579b7a278 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | macintosh/macio-adb: add missing iounmap() on error in macio_init() (diff) | |
powerpc/io: Expect immutable pointer in virt_to_phys() prototype
virt_to_phys() doesn't need the address pointer to be mutable.
At the same time allowing it to be mutable leads to the following build
warning for constant pointers:
warning: passing argument 1 of ‘virt_to_phys’ discards ‘const’ qualifier from pointer target type
Signed-off-by: Stanislav Kinsburskii <stanislav.kinsburskii@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/168155747391.13678.10634415747614468991.stgit@skinsburskii.localdomain
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
