Message ID | 20200913225904.42537-3-stewart@flamingspork.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/4] core/opal.c: sparse cleanup integer as NULL | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (d362ae4f4c521a7faffb1befe2fbba467f2c4d18) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | success | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
diff --git a/platforms/astbmc/witherspoon.c b/platforms/astbmc/witherspoon.c index 39c3f161..fd9bcce4 100644 --- a/platforms/astbmc/witherspoon.c +++ b/platforms/astbmc/witherspoon.c @@ -554,7 +554,7 @@ static void witherspoon_finalise_dt(bool is_reboot) * SCL/SDA don't return to the idle state fast enough. Disable * the port to squash the errors. */ - for (c = next_chip(0); c; c = next_chip(c)) { + for (c = next_chip(NULL); c; c = next_chip(c)) { bool detected = false; int i;
platforms/astbmc/witherspoon.c:557:28: warning: Using plain integer as NULL pointer Signed-off-by: Stewart Smith <stewart@flamingspork.com> --- platforms/astbmc/witherspoon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)