aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-04-16 12:50:03 +0000
committerRafael J. Wysocki <[email protected]>2016-04-26 19:11:35 +0000
commit0b26985a7d76645598d98fec6922ddd1ec8cbc55 (patch)
tree9fdfa733c6d65517effd170a645349a8f5f52221 /fs/jbd2/commit.c
parentLinux 4.6-rc5 (diff)
downloadkernel-0b26985a7d76645598d98fec6922ddd1ec8cbc55.tar.gz
kernel-0b26985a7d76645598d98fec6922ddd1ec8cbc55.zip
PM / clk: ensure we don't allocate a -ve size of count clks
It is entirely possible for of_count_phandle_wit_args to return a -ve error return value so we need to check for this otherwise we end up allocating a negative number of clk objects. Signed-off-by: Colin Ian King <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions