mirror of
https://github.com/linux-msm/rmtfs.git
synced 2024-11-23 12:14:12 +08:00
rmtfs: fix the type of the phys_address argument of rmtfs_mem_ptr()
The 'phys_address' argument of rmtfs_mem_read() and rmtfs_mem_write() is an 'unsigned long' type value, which is then passed to the 'phys_address' argument of rmtfs_mem_ptr(), which is an 'unsigned int' type value. This patch fixes the mismatch. Signed-off-by: Ben Chan <benchan@chromium.org>
This commit is contained in:
parent
577aedad06
commit
b3ea7fdf7b
@ -261,7 +261,7 @@ void rmtfs_mem_free(struct rmtfs_mem *rmem)
|
||||
{
|
||||
}
|
||||
|
||||
static void *rmtfs_mem_ptr(struct rmtfs_mem *rmem, unsigned phys_address, ssize_t len)
|
||||
static void *rmtfs_mem_ptr(struct rmtfs_mem *rmem, unsigned long phys_address, ssize_t len)
|
||||
{
|
||||
uint64_t start;
|
||||
uint64_t end;
|
||||
|
Loading…
Reference in New Issue
Block a user