Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a86fbc1 authored by Daniel Walker's avatar Daniel Walker
Browse files

arm: msm: smd: convert unsigned addr to unsigned long



"unsigned" translates to "unsigned int", but this value holds an
address. We always want to use unsigned long for addresses since
it will change size to fit the machine.

This just convert the one address holder to unsigned long.

Signed-off-by: default avatarDaniel Walker <dwalker@codeaurora.org>
parent bf83de40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -872,9 +872,9 @@ static irqreturn_t smsm_irq_handler(int irq, void *data)
int smsm_change_state(enum smsm_state_item item,
		      uint32_t clear_mask, uint32_t set_mask)
{
	unsigned long addr = smd_info.state + item * 4;
	unsigned long flags;
	unsigned state;
	unsigned addr = smd_info.state + item * 4;

	if (!smd_info.ready)
		return -EIO;