]> 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)
commitf687d53b62cd1f588ca386d2e5f2fe9e3c6f1b1a
treec2141a497e88fa2d596833f2a27c87f5b995cbc6
parentb29b6807c037c3721ae40a3928fcacdea79953fa
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