summaryrefslogtreecommitdiff
path: root/lib/rbtree_test.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2015-04-30 14:49:20 (GMT)
committerMatt Fleming <matt.fleming@intel.com>2015-04-30 21:15:06 (GMT)
commitf2f6b587c5533c43f3c26f1babd96e32b2c12a9b (patch)
treee8ae9f7d85bb137c65899313dc0d31319fb5c8f7 /lib/rbtree_test.c
parenta93e178838b85409601c9b909af5addbbfd90264 (diff)
downloadlinux-f2f6b587c5533c43f3c26f1babd96e32b2c12a9b.tar.xz
efi/esrt: Fix some compiler warnings
Apparently I missed some compiler warnings on 32-bit platforms, where phys_addr_t isn't the same size as void * and I casted it to make printk work. Obviously I should have thought "I'm printing some random type, instead of typecasting I should check Documentation/printk-formats.txt and see how to do it." o/~ The More You Know ☆彡 o/~ This patch also fixes one other warning about an uninitialized variable some compiler versions seem to see. You can't actually hit the code path where it would be uninitialized, because there's a prior test that would error out, but gcc hasn't figured that out. Anyway, it now has a test and returns the error at both places. Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions