diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-01-26 17:13:21 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2012-02-01 13:23:14 (GMT) |
commit | e87c5e35a92e045de75fb6ae9846a38bdd0f92bd (patch) | |
tree | a518be04415fd6b6746493e96b422bfad1cbb10f /lib/irq_regs.c | |
parent | 3cccd1543ab623a5065335bf08350e06ffc788ab (diff) | |
download | linux-fsl-qoriq-e87c5e35a92e045de75fb6ae9846a38bdd0f92bd.tar.xz |
lib/mpi: return error code on dividing by zero
Definitely better to return error code than to divide by zero.
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Reviewed-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/irq_regs.c')
0 files changed, 0 insertions, 0 deletions