History

Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull CPU hotplug fix from Ingo Molnar: "An error handling corner case fix" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Drop the device lock on error

Linus Torvalds committed 9 years ago

Commit 45b44f02 parents 6b7ed45 40da1b11 file · +2 −2Browse files

Unified · Split

kernel/cpu.c+2−2
@@ -1658,13 +1658,13 @@ static ssize_t write_cpuhp_target(struct device *dev, · 1657 unmodified lines
16581658 ret = !sp->name || sp->cant_stop ? -EINVAL : 0;
16591659 mutex_unlock(&cpuhp_state_mutex);
16601660 if (ret)
1661− return ret;
1661+ goto out;
16621662
16631663 if (st->state < target)
16641664 ret = do_cpu_up(dev->id, target);
16651665 else
16661666 ret = do_cpu_down(dev->id, target);
1667−
1667+out:
16681668 unlock_device_hotplug();
16691669 return ret ? ret : count;
16701670 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t