Skip to content

Commit

Permalink
size fix
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l committed Mar 23, 2016
1 parent ecd5432 commit 400b11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/vsd1/vsd_driver/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ static int vsd_driver_probe(struct platform_device *pdev)
goto error_get_buf;
}
vsd_dev->vbuf = phys_to_virt(vsd_phy_mem_buf_res->start);
vsd_dev->buf_size = vsd_phy_mem_buf_res->end - vsd_phy_mem_buf_res->start;
vsd_dev->buf_size = vsd_phy_mem_buf_res->end - vsd_phy_mem_buf_res->start + 1;

pr_notice(LOG_TAG "VSD dev with MINOR %u"
" has started successfully\n", vsd_dev->mdev.minor);
Expand Down

0 comments on commit 400b11b

Please sign in to comment.