]> git.baikalelectronics.ru Git - 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)
commit62d014207ca786f31e2c73c343f377e85126e3de
treec2141a497e88fa2d596833f2a27c87f5b995cbc6
parent57e111db24fbfe379be6c3e2a93a7f49cbe5def5
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