Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: fix offset in assign_mobj_to_param_mem() #2430

Merged
merged 1 commit into from
Jun 28, 2018

Commits on Jun 28, 2018

  1. core: fix offset in assign_mobj_to_param_mem()

    Prior to this patch assign_mobj_to_param_mem() stored the offset
    supplied with a non-contiguous buffer in mem->offs. Since that offset
    already is stored inside the resulting MOBJ that offset is added twice.
    This patch fixes this by initializing mem->offs to 0 instead.
    
    Reviewed-by: Volodymyr Babchuk <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    3d3c378 View commit details
    Browse the repository at this point in the history