mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
The SMB dirver register the enable/disable sysfs interface in function
smb_register_sink(), however the buffer depends on the following
configuration to work well. So it'll be possible for user to access an
unreset one.
Move the config buffer operation to before register_sink().
Ignore the return value, if smb_config_inport() fails. That will
cause the hardwares disable trace path to fail, should not affect
SMB driver remove. So we make smb_remove() return success,
Fixes:
|
||
|---|---|---|
| .. | ||
| coresight | ||
| intel_th | ||
| ptt | ||
| stm | ||
| Kconfig | ||