* Re: [alsa-devel] linux-next: Tree for Oct 17 (soundwire)
[not found] <20191017152645.65892c78@canb.auug.org.au>
@ 2019-10-17 15:22 ` Randy Dunlap
2019-10-17 17:31 ` Pierre-Louis Bossart
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2019-10-17 15:22 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List
Cc: Vinod Koul, moderated for non-subscribers,
Linux Kernel Mailing List, Sanyog Kale, Pierre-Louis Bossart
On 10/16/19 9:26 PM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20191016:
>
on x86_64:
# CONFIG_BLOCK is not set
CC [M] drivers/soundwire/intel_init.o
In file included from ../drivers/soundwire/intel_init.c:12:0:
../include/linux/iomap.h: In function ‘iomap_sector’:
../include/linux/iomap.h:76:48: error: ‘SECTOR_SHIFT’ undeclared (first use in this function); did you mean ‘SECTIONS_SHIFT’?
return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT;
^~~~~~~~~~~~
SECTIONS_SHIFT
--
~Randy
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [alsa-devel] linux-next: Tree for Oct 17 (soundwire)
2019-10-17 15:22 ` [alsa-devel] linux-next: Tree for Oct 17 (soundwire) Randy Dunlap
@ 2019-10-17 17:31 ` Pierre-Louis Bossart
0 siblings, 0 replies; 2+ messages in thread
From: Pierre-Louis Bossart @ 2019-10-17 17:31 UTC (permalink / raw)
To: Randy Dunlap, Stephen Rothwell, Linux Next Mailing List
Cc: Sanyog Kale, Vinod Koul, moderated for non-subscribers,
Linux Kernel Mailing List
On 10/17/19 10:22 AM, Randy Dunlap wrote:
> On 10/16/19 9:26 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20191016:
>>
>
> on x86_64:
>
> # CONFIG_BLOCK is not set
>
> CC [M] drivers/soundwire/intel_init.o
> In file included from ../drivers/soundwire/intel_init.c:12:0:
> ../include/linux/iomap.h: In function ‘iomap_sector’:
> ../include/linux/iomap.h:76:48: error: ‘SECTOR_SHIFT’ undeclared (first use in this function); did you mean ‘SECTIONS_SHIFT’?
> return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT;
> ^~~~~~~~~~~~
> SECTIONS_SHIFT
Yes, looks like by fixing cross-compilation issues I added new ones.
We can either add an explicit dependency on CONFIG_BLOCK or remove the
use of ioread32() and use readl() instead. I didn't write the initial
code and I have no idea what the intent behind using ioread32 was.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-17 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20191017152645.65892c78@canb.auug.org.au>
2019-10-17 15:22 ` [alsa-devel] linux-next: Tree for Oct 17 (soundwire) Randy Dunlap
2019-10-17 17:31 ` Pierre-Louis Bossart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox