Skip to content

Commit e6cdd6d

Browse files
Alex Elderkuba-moo
authored andcommitted
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>
1 parent 4ace7a6 commit e6cdd6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ipa/gsi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ static void gsi_evt_ring_de_alloc_command(struct gsi *gsi, u32 evt_ring_id)
440440
static enum gsi_channel_state gsi_channel_state(struct gsi_channel *channel)
441441
{
442442
u32 channel_id = gsi_channel_id(channel);
443-
void *virt = channel->gsi->virt;
443+
void __iomem *virt = channel->gsi->virt;
444444
u32 val;
445445

446446
val = ioread32(virt + GSI_CH_C_CNTXT_0_OFFSET(channel_id));

0 commit comments

Comments
 (0)