[bug report] cxl: sysfs support for guests
Dan Carpenter
dan.carpenter at oracle.com
Wed Jul 13 20:13:39 AEST 2016
Hello Christophe Lombard,
The patch 4752876c7170: "cxl: sysfs support for guests" from Mar 4,
2016, leads to the following static checker warning:
drivers/misc/cxl/sysfs.c:681 cxl_sysfs_afu_add()
warn: if statement not indented
drivers/misc/cxl/sysfs.c
672 err1:
673 cxl_sysfs_afu_remove(afu);
674 return rc;
675 err:
676 /* reset the eb_len as we havent created the bin attr */
677 afu->eb_len = 0;
678
679 for (i--; i >= 0; i--) {
680 dev_attr = &afu_attrs[i];
681 if (cxl_ops->support_attributes(dev_attr->attr.name,
682 CXL_AFU_ATTRS))
683 device_remove_file(&afu->dev, &afu_attrs[i]);
It's tempting to add a tab but I *think* actually there is a line
missing here? I'm not sure.
684 }
685 return rc;
686 }
regards,
dan carpenter
More information about the Linuxppc-dev
mailing list