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

Commit 225f7e1e authored by Sonic Zhang's avatar Sonic Zhang Committed by Bryan Wu
Browse files

Blackfin arch: Fix bug - when to rmmod the L1_module, it stucks and then reboot the board.



Fix this by correcting the wrong pointer

Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent d70536ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -335,7 +335,7 @@ static int _sram_free(const void *addr,
		plast->size += pavail->size;
		kmem_cache_free(sram_piece_cache, pavail);
	} else {
		pavail->next = plast;
		pavail->next = plast->next;
		plast->next = pavail;
		plast = pavail;
	}