summaryrefslogtreecommitdiff
path: root/drivers/misc/cxl/pci.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2014-12-24 17:43:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-18 14:11:12 +0100
commit40925067a80129d907abbf70dfa5285bbccd1967 (patch)
tree3650676ed7eca94fa6d662d1f6f25c644fcb3a7b /drivers/misc/cxl/pci.c
parent5746f2d2f1fad069e2de754310b62e19440c0080 (diff)
clk-gate: fix bit # check in clk_register_gate()
commit 2e9dcdae4068460c45a308dd891be5248260251c upstream. In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # should be no higher than 15, however the corresponding check is obviously off- by-one. Fixes: 045779942c04 ("clk: gate: add CLK_GATE_HIWORD_MASK") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Michael Turquette <mturquette@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cxl/pci.c')
0 files changed, 0 insertions, 0 deletions