diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-10-16 13:53:05 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-10-18 12:47:31 +0000 |
commit | bdd272a95161c2743a262015db0c640b657c5a24 (patch) | |
tree | ce75fd8356834202a8c4d749e9f6dd7563207eae /util/lint/checkpatch.pl | |
parent | d46bb6bdf0ad2be0bbd5d01a7248785e6da11014 (diff) |
soc/amd/stoneyridge/southbridge.c: Change comparison order
Comparison should place the constant on the right side. Southbridge.c has 6
instances where the opposite happens. Reverse the order of six comparisons
to eliminate checkpatch warnings:
WARNING: Comparisons should place the constant on the right side of the test
BUG=b:117656929
TEST=Build grunt.
Change-Id: I94f17b81f845fa94599f93c0be1144ffcb8e4165
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/29153
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/lint/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions