linux/arch/m68k/emu
Chengguang Xu 30363d6506 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>
2019-02-06 12:50:40 -07:00
..
Makefile m68k/atari: ARAnyM - Add support for network access 2011-03-16 19:10:41 +01:00
natfeat.c m68k: Mark functions only called from setup_arch() __init 2013-11-26 11:08:54 +01:00
nfblock.c m68k: set proper major_num when specifying module param major_num 2019-02-06 12:50:40 -07:00
nfcon.c m68k/atari: ARAnyM - Always use physical addresses in NatFeat calls 2013-08-23 12:49:01 +02:00
nfeth.c m68k/atari: ARAnyM - Remove reference to long-deprecated MODULE_PARM 2018-08-31 09:30:42 +02:00