Skip to content

lkl: bootmem: fix variable shadowing#405

Merged
tavip merged 1 commit intolkl:masterfrom
levex:fix-0k-memory
Jan 6, 2018
Merged

lkl: bootmem: fix variable shadowing#405
tavip merged 1 commit intolkl:masterfrom
levex:fix-0k-memory

Conversation

@levex
Copy link

@levex levex commented Jan 6, 2018

The mem_size variable was shadowed over by an argument of the same name,
this causes erroneous output when the available memory is printed to the
console. This patch renames the argument to fix the shadowing.

Fixes: #337
Signed-off-by: Levente Kurusa levex@linux.com


This change is Reviewable

The mem_size variable was shadowed over by an argument of the same name,
this causes erroneous output when the available memory is printed to the
console. This patch renames the argument to fix the shadowing.

Signed-off-by: Levente Kurusa <levex@linux.com>
@lkl-jenkins
Copy link

Can one of the admins verify this patch?

@tavip
Copy link
Member

tavip commented Jan 6, 2018

@lkl-jenkins: test this please

@tavip tavip merged commit d652f09 into lkl:master Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0k memory available

4 participants