.. | .. |
---|
121 | 121 | } |
---|
122 | 122 | } |
---|
123 | 123 | |
---|
124 | | - if (WARN(slot < 0, "%s(%08llx, %08lx) not found slot\n", |
---|
125 | | - __func__, (u64)phys_addr, size)) |
---|
| 124 | + if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", |
---|
| 125 | + __func__, &phys_addr, size)) |
---|
126 | 126 | return NULL; |
---|
127 | 127 | |
---|
128 | 128 | /* Don't allow wraparound or zero size */ |
---|
.. | .. |
---|
158 | 158 | --idx; |
---|
159 | 159 | --nrpages; |
---|
160 | 160 | } |
---|
161 | | - WARN(early_ioremap_debug, "%s(%08llx, %08lx) [%d] => %08lx + %08lx\n", |
---|
162 | | - __func__, (u64)phys_addr, size, slot, offset, slot_virt[slot]); |
---|
| 161 | + WARN(early_ioremap_debug, "%s(%pa, %08lx) [%d] => %08lx + %08lx\n", |
---|
| 162 | + __func__, &phys_addr, size, slot, offset, slot_virt[slot]); |
---|
163 | 163 | |
---|
164 | 164 | prev_map[slot] = (void __iomem *)(offset + slot_virt[slot]); |
---|
165 | 165 | return prev_map[slot]; |
---|