Message ID | 20200115091428.32502-5-stefan.bader@canonical.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index 2e90390d4f2a..8636d9d2ef8e 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c @@ -513,7 +513,7 @@ static void raid0_make_request(struct mddev *mddev, struct bio *bio) tmp_dev = map_sector(mddev, zone, sector, §or); break; default: - WARN("md/raid0:%s: Invalid layout\n", mdname(mddev)); + WARN(1, "md/raid0:%s: Invalid layout\n", mdname(mddev)); bio_io_error(bio); return true; }