diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-07-07 00:14:15 (GMT) |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2008-08-25 02:20:49 (GMT) |
commit | c66830263af19831f2b7db307f79d1943febf7f9 (patch) | |
tree | abb2037bd454ea11f56c527ad52c66bbc7291681 /board/gen860t | |
parent | ef4e8ce1beb5b93aedda5a4c1b90bfd989c6791e (diff) | |
download | u-boot-c66830263af19831f2b7db307f79d1943febf7f9.tar.xz |
dtc: Enable and fix -Wcast-qual warnings
Enabling -Wcast-qual warnings in dtc shows up a number of places where
we are incorrectly discarding a const qualification. There are also
some places where we are intentionally discarding the 'const', and we
need an ugly cast through uintptr_t to suppress the warning. However,
most of these are pretty well isolated with the *_w() functions. So
in the interests of maximum safety with const qualifications, this
patch enables the warnings and fixes the existing complaints.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'board/gen860t')
0 files changed, 0 insertions, 0 deletions