diff options
author | Timur Tabi <timur@tabi.org> | 2014-06-13 16:42:40 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-17 18:44:53 +0400 |
commit | acf2c60a60b3d6d7080854b9483f37d99ded9b23 (patch) | |
tree | b437ea70f8d8d1b2094fa5a2bea78b3e6fe0c62c /REPORTING-BUGS | |
parent | 3d5f615f9fcba6df382bd9a204b5e9ad3080ac48 (diff) | |
download | linux-acf2c60a60b3d6d7080854b9483f37d99ded9b23.tar.xz |
ASoC: fsl-ssi: fix do_div build warning in fsl_ssi_set_bclk()
do_div() requires that the first parameter is a 64-bit integer,
which but clkrate was defined as an unsigned long. This caused
the following warnings:
CC sound/soc/fsl/fsl_ssi.o
sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_set_bclk':
sound/soc/fsl/fsl_ssi.c:593:3: warning: comparison of distinct pointer types lacks a cast
sound/soc/fsl/fsl_ssi.c:593:3: warning: right shift count >= width of type
sound/soc/fsl/fsl_ssi.c:593:3: warning: passing argument 1 of '__div64_32' from incompatible pointer type
include/asm-generic/div64.h:35:17: note: expected 'uint64_t *' but argument is of type 'long unsigned int *'
Signed-off-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions