sparse problem with duplicate __iomem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On kernel 5.9-rc1, either i386 or x86_64 builds, I am seeing these
sparse warnings:

../drivers/gpu/drm/ast/ast_cursor.c:256:26: CK: warning: duplicate [noderef]
../drivers/gpu/drm/ast/ast_cursor.c:256:26: CK: error: multiple address space given: __iomem & __iomem

for this source line:

	u8 __iomem *dst, __iomem *sig;


Should one of those __iomem-s be removed?
I.e., does "__iomem" apply to everything after it, up to the ending ';',
or just up to the next comma ','? 


thanks.
-- 
~Randy




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux