aboutsummaryrefslogtreecommitdiff
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2019-02-01 11:26:02 +0800
committerJens Axboe <[email protected]>2019-02-06 12:50:40 -0700
commit30363d6506d0d202bb14f4dac36d9b4b0714ad8d (patch)
tree601ac4b8cc6050515e9602a2e8d7c42a85826eb2 /net/core/utils.c
parentdd957493baa586f1431490f97f9c7c45eaf8ab10 (diff)
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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Chengguang Xu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions