aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-01-05 14:45:11 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-01-12 15:38:23 +0100
commit57a427c81c322c5f0cdfe7c46cdee553d18b1ec6 (patch)
tree88d3197697a363d90f266346802eaf0778660fda /rust/kernel/ssh:/git@git.zx2c4.com/git:
parentthermal/debugfs: Add thermal debugfs information for mitigation episodes (diff)
thermal: core: Use kstrdup_const() during cooling device registration
Some *thermal_cooling_device_register() calls pass a string literal as the 'type' parameter, so kstrdup_const() can be used instead of kstrdup() to avoid a memory allocation in such cases. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions