diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2015-05-12 13:32:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-12 13:42:16 +0300 |
commit | 7e52be0d576e8f7bc99a606f07b9d000c4340f04 (patch) | |
tree | 198eaa44f665bd28cbf064007b1033a69f7d9ac3 /Documentation/sh/register-banks.txt | |
parent | 3ecd37edaa2a6ba3246e2c35714be9316b1087fe (diff) | |
download | linux-7e52be0d576e8f7bc99a606f07b9d000c4340f04.tar.xz |
spi: bcm2835: fix kbuild compile warnings/errors and a typo
fixes several warnings/error emmitted by the kbuild system:
* warn: cast from pointer to integer of different size
using size_t instead of u32
* error: 'SZ_4K' undeclared
moved to PAGE_SIZE and PAGE_MASK instead
Review showed also a typo in the same code where tx_buff
was checked twice instead of checking both rx and tx_buff.
Reported by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/sh/register-banks.txt')
0 files changed, 0 insertions, 0 deletions