Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c8549ac6 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

SSR: Make smem ramdump devices unique



If two SSR drivers register with the same ramdump device pointing
at shared memory sysfs will complain about duplicate sysfs nodes:

WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x78/0x98()
sysfs: cannot create duplicate filename
'/devices/virtual/misc/ramdump_smem'

Avoid this case by making the names of the ramdump devices
unique via smem-$subsystem (smem-modem, smem-dsps, etc.).

Change-Id: I6c3d5b0a4a7739a42b14940a141cc0c87168a4e0
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 1a89a079
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment