mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
30363d6506
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> |
||
---|---|---|
.. | ||
Makefile | ||
natfeat.c | ||
nfblock.c | ||
nfcon.c | ||
nfeth.c |