summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/pnv-pci.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2014-12-24 17:43:27 +0300
committerSasha Levin <sasha.levin@oracle.com>2015-03-23 21:02:54 -0400
commit22374fc8ef69575e6d5ca79ba3f01d8472ff87e7 (patch)
tree35c8c24820d439b5711ef839860e171cb5631846 /arch/powerpc/include/asm/pnv-pci.h
parent9acb057e979d4512d74ea62287e81186961348ba (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 'arch/powerpc/include/asm/pnv-pci.h')
0 files changed, 0 insertions, 0 deletions