That was super-ddf can use it.
Signed-off-by: NeilBrown <neilb@suse.de>
        (void) (&_max1 == &_max2);              \
        _max1 > _max2 ? _max1 : _max2; })
 
+#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
+
 /* general information that might be extracted from a superblock */
 struct mdinfo {
        mdu_array_info_t        array;
 
 static int _sigbus;
 static unsigned long rom_align;
 
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
-
 static void sigbus(int sig)
 {
        _sigbus = 1;
 
 
 static int volume_id_is_reliable(const struct ddf_super *ddf)
 {
-       int n = sizeof(vendors_with_variable_volume_UUID) /
-               sizeof(vendors_with_variable_volume_UUID[0]);
+       int n = ARRAY_SIZE(vendors_with_variable_volume_UUID);
        int i;
        for (i = 0; i < n; i++)
                if (!memcmp(ddf->controller.guid,