]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
lib/mpi: added comment on divide by 0 case
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 26 Jan 2012 17:13:20 +0000 (19:13 +0200)
committerJames Morris <jmorris@namei.org>
Wed, 1 Feb 2012 13:23:39 +0000 (00:23 +1100)
commita6d68ecc56ed182644c81ef6917ce1f5404db7dd
treec2141a497e88fa2d596833f2a27c87f5b995cbc6
parent4877e056192245b387aae004ab38f7f3899dd57c
lib/mpi: added comment on divide by 0 case

Comment explains that existing clients do not call this function
with dsize == 0, which means that 1/0 should not happen.

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>
lib/mpi/mpih-div.c