From mboxrd@z Thu Jan 1 00:00:00 1970 From: luc.vanoostenryck@gmail.com (Luc Van Oostenryck) Date: Fri, 16 Nov 2018 11:34:00 +0100 Subject: [PATCH] arm64: sysreg: fix sparse warnings In-Reply-To: <20181115083535.usyjcdoz2f6zmssq@bars> References: <20181109204747.10008-1-geomatsi@gmail.com> <20181110001615.GA5665@brain-police> <20181110111647.GA3511@speedy.hunter> <20181110170311.GA7700@brain-police> <20181110175404.gnks6sj3zzlz2it7@ltop.local> <2bb3e247-3b6f-adc6-6d6f-1e62f48a43e6@ramsayjones.plus.com> <20181114222540.fgddrx4xxsne5pdq@ltop.local> <20181115083535.usyjcdoz2f6zmssq@bars> Message-ID: <20181116103359.wywpaeanhoceqhgb@ltop.local> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > Hi, > > Could you please clarify what is your resolution regarding that warning. > I pulled all the changes from sparse repository on kernel.org. However > the same warning is still here when building modules with C=2 option. Hi, Yes, the warning is still there since it's maybe not desired but is at least legit. For the short term, I think the best is your original patch (but using UL as the prefix). I would be glad to ack such a patch (I tried to answer in the original thread but I never found it although I should be subscribed to the linux-arm-kernel mailing list). For the slightly longer term, I'll need to see how Ramsay's patches can also be used for kernel code. Best regards, -- Luc