diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2019-02-01 04:26:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-06 20:50:40 +0100 |
commit | 30363d6506d0d202bb14f4dac36d9b4b0714ad8d (patch) | |
tree | 601ac4b8cc6050515e9602a2e8d7c42a85826eb2 /fs | |
parent | libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD (diff) | |
download | linux-30363d6506d0d202bb14f4dac36d9b4b0714ad8d.tar.xz linux-30363d6506d0d202bb14f4dac36d9b4b0714ad8d.zip |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions