diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-02-24 12:14:37 +0100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-26 18:33:07 +1100 |
commit | b0ae8743ce09be387e19d76c986a1296c003a4c5 (patch) | |
tree | 14a0252711889fc2ac1ae280a47d3572386fe936 /core/cpu.c | |
parent | 63782490887b158e29f10d5eecc65f5da4afd14a (diff) | |
download | talos-skiboot-b0ae8743ce09be387e19d76c986a1296c003a4c5.tar.gz talos-skiboot-b0ae8743ce09be387e19d76c986a1296c003a4c5.zip |
sparse: fix Using plain integer as NULL pointer warning
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/cpu.c')
-rw-r--r-- | core/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -449,7 +449,7 @@ void init_all_cpus(void) t->primary = t; t->node = cpu; t->chip_id = chip_id; - t->icp_regs = 0; /* Will be set later */ + t->icp_regs = NULL; /* Will be set later */ /* Add associativity properties */ add_core_associativity(t); |