Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: ti: fix max dup length for kstrndup
If source string longer than max, kstrndup will alloc max+1 space. So, we should make sure the result will not over limit. Signed-off-by: Ma Shimiao <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]>
- Loading branch information