mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
net: ipa: add a missing __iomem attribute
The virt local variable in gsi_channel_state() does not have an __iomem attribute but should. Fix this. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Amy Parker <enbyamy@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
4ace7a6e28
commit
e6cdd6d80b
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ static void gsi_evt_ring_de_alloc_command(struct gsi *gsi, u32 evt_ring_id)
|
||||||
static enum gsi_channel_state gsi_channel_state(struct gsi_channel *channel)
|
static enum gsi_channel_state gsi_channel_state(struct gsi_channel *channel)
|
||||||
{
|
{
|
||||||
u32 channel_id = gsi_channel_id(channel);
|
u32 channel_id = gsi_channel_id(channel);
|
||||||
void *virt = channel->gsi->virt;
|
void __iomem *virt = channel->gsi->virt;
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
val = ioread32(virt + GSI_CH_C_CNTXT_0_OFFSET(channel_id));
|
val = ioread32(virt + GSI_CH_C_CNTXT_0_OFFSET(channel_id));
|
||||||
|
|
Loading…
Reference in a new issue