Skip to content

Commit 373c56e

Browse files
committed
acpi-hmat-calculate-abstract-distance-with-hmat-checkpatch-fixes
WARNING: Avoid logging continuation uses where feasible torvalds#54: FILE: drivers/acpi/numa/hmat.c:768: + pr_cont("read_latency: %u, write_latency: %u, read_bandwidth: %u, write_bandwidth: %u\n", WARNING: __meminitdata should be placed after hmat_adist_nb torvalds#174: FILE: drivers/acpi/numa/hmat.c:888: +static __meminitdata struct notifier_block hmat_adist_nb = ERROR: that open brace { should be on the previous line torvalds#175: FILE: drivers/acpi/numa/hmat.c:889: +static __meminitdata struct notifier_block hmat_adist_nb = +{ WARNING: From:/Signed-off-by: email name mismatch: 'From: Huang Ying <[email protected]>' != 'Signed-off-by: "Huang, Ying" <[email protected]>' total: 1 errors, 3 warnings, 185 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/acpi-hmat-calculate-abstract-distance-with-hmat.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: "Huang, Ying" <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 46245d2 commit 373c56e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/acpi/numa/hmat.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,7 @@ static int hmat_calculate_adistance(struct notifier_block *self,
885885
return NOTIFY_STOP;
886886
}
887887

888-
static __meminitdata struct notifier_block hmat_adist_nb =
889-
{
888+
static __meminitdata struct notifier_block hmat_adist_nb = {
890889
.notifier_call = hmat_calculate_adistance,
891890
.priority = 100,
892891
};

0 commit comments

Comments
 (0)