]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Create.c
imsm: Allow to specify controller for --detail-platform.
[thirdparty/mdadm.git] / Create.c
index 32683a82ff65fb151c34c7e3b497ef10a37ba56b..2da07d06d0a57eb4ce2a63ae31a97d6d0662349f 100644 (file)
--- a/Create.c
+++ b/Create.c
@@ -492,7 +492,7 @@ int Create(struct supertype *st, char *mddev,
                warn = 1;
        }
 
-       if (st->ss->detail_platform && st->ss->detail_platform(0, 1) != 0) {
+       if (st->ss->detail_platform && st->ss->detail_platform(0, 1, NULL) != 0) {
                if (c->runstop != 1 || c->verbose >= 0)
                        pr_err("%s unable to enumerate platform support\n"
                                "    array may not be compatible with hardware/firmware\n",