aboutsummaryrefslogtreecommitdiff
path: root/lib/strncpy_from_user.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "lib: align source before using optimized implementation"Mister Oyster2017-04-131-17/+0
| | | | This reverts commit 0719b9c5323a34bca5a689059048cfbb52520344.
* lib: align source before using optimized implementationSanrio Alvares2017-04-111-0/+17
| | | | | | | | | | | | If the source is at the boundary of the VMA, loading one word at a time can cause an alignment fault when the adjacent VMA is IO mapped. Do byte-by-byte copy until source aligns to 8 bytes and then continue with optimized version. CRs-Fixed: 973724 Change-Id: I05e085597c58169fc6e275508a907029b9c7ec64 Signed-off-by: Sanrio Alvares <salvares@codeaurora.org> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* first commitMeizu OpenSource2016-08-151-0/+113