From: Dan Williams <djbw@xxxxxx> Don't squawk when platform capabilities missing, in preparation for generic SES platform support. Undo some indentation as well. Cc: Lukasz Dorau <lukasz.dorau@xxxxxxxxx> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Signed-off-by: Song Liu <songliubraving@xxxxxx> --- super-intel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/super-intel.c b/super-intel.c index e609e0c..330b24f 100644 --- a/super-intel.c +++ b/super-intel.c @@ -1935,8 +1935,9 @@ static int detail_platform_imsm(int verbose, int enumerate_only, char *controlle if (controller_path && (compare_paths(hba->path, controller_path) != 0)) continue; if (!find_imsm_capability(hba)) { - pr_err("imsm capabilities not found for controller: %s (type %s)\n", - hba->path, get_sys_dev_type(hba->type)); + if (verbose > 0) + pr_err("imsm capabilities not found for controller: %s (type %s)\n", + hba->path, get_sys_dev_type(hba->type)); continue; } result = 0; -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html