Searched hist:"30363 d65" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/m68k/emu/ |
H A D | nfblock.c | 30363d65 Thu Jan 31 21:26:02 CST 2019 Chengguang Xu <cgxu519@gmx.com> m68k: set proper major_num when specifying module param major_num
When calling register_blkdev() with specified major device number, the return code is 0 on success. So it seems not correct direct assign return code to variable major_num in this case.
Tested-by: Michael Schmitz <schmitzmic@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> 30363d65 Thu Jan 31 21:26:02 CST 2019 Chengguang Xu <cgxu519@gmx.com> m68k: set proper major_num when specifying module param major_num When calling register_blkdev() with specified major device number, the return code is 0 on success. So it seems not correct direct assign return code to variable major_num in this case. Tested-by: Michael Schmitz <schmitzmic@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
|