summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAdam Lessnau <adam.lessnau@intel.com>2017-06-01 11:21:50 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-28 00:38:34 +0200
commitedbdabc62328ec0ac98d83ca384bf9fd5251ade6 (patch)
treea689a149912e0efc6a87a1d83ec24cccf4a3bb68 /drivers/usb
parentLinux 4.12-rc7 (diff)
downloadlinux-edbdabc62328ec0ac98d83ca384bf9fd5251ade6.tar.xz
linux-edbdabc62328ec0ac98d83ca384bf9fd5251ade6.zip
powercap/RAPL: prevent overridding bits outside of the mask
Fixes wrong bits shift operation in the rapl_write_data_raw function, which might cause overridding bits outside of the mask. For example, writing new TIME_WINDOW1 value can override POWER_LIMIT1. Signed-off-by: Adam Lessnau <adam.lessnau@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions