forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: amp: fix rpmsg driver override kfree static memory
User can not modify rpmsg sysfs driver_override file, because rpdev->driver_override is allocate in the static memory. So dynamic allocate memory for rpdev->driver_override. Signed-off-by: Charles Ci-Jyun Wu <dminus@andestech.com> Reviewed-by: Dylan Jhong <dylan@andestech.com> Reviewed-by: Randolph <randolph@andestech.com>
- Loading branch information
Charles Ci-Jyun Wu
authored and
Leo Yu-Chi Liang
committed
Nov 1, 2022
1 parent
145a47e
commit 7e67617
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters