Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel': drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable] 491 | u32 inst, aper; | ^~~~ cc1: all warnings being treated as errors
Caused by commit
404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
I have used the drm-misc tree from next-20211011 for today.
uhh, that's on me. I will send out a patch today. I just noticed that the config file I used for testing had WERROR disabled.
On Tue, Oct 12, 2021 at 4:18 AM Stephen Rothwell sfr@canb.auug.org.au wrote:
Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel': drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable] 491 | u32 inst, aper; | ^~~~ cc1: all warnings being treated as errors
Caused by commit
404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
I have used the drm-misc tree from next-20211011 for today.
-- Cheers, Stephen Rothwell
SGksDQoNCg0KDQpJIHJldmlldyB0aGUgY29kZS4NCg0KDQpJdCBzZWVtcyBJIGZvcmdldCB0byBk ZWxldGUgdGhlIGRlZmluaXRpb24gb2YgdGhlIHZhcmlhYmxlICJpbnN0IixJJ20gc3J5IGZvciB0 aGF0LjogKA0KDQoNCkknbGwgc3VibWl0IGFub3RoZXIgcGF0Y2ggc29vbi4NCg0KDQoNCg0KDQoN Cj4gSGkgYWxsLD4gPiBBZnRlciBtZXJnaW5nIHRoZSBkcm0tbWlzYyB0cmVlLCB0b2RheSdzIGxp bnV4LW5leHQgYnVpbGQgKHg4Nl82ND4gYWxsbW9kY29uZmlnKSBmYWlsZWQgbGlrZSB0aGlzOj4g PiBkcml2ZXJzL2dwdS9kcm0vbm91dmVhdS9udmttL3N1YmRldi9tbXUvdm1tZ3AxMDAuYzogSW4g ZnVuY3Rpb24gJ2dwMTAwX3ZtbV9mYXVsdF9jYW5jZWwnOj4gZHJpdmVycy9ncHUvZHJtL25vdXZl YXUvbnZrbS9zdWJkZXYvbW11L3ZtbWdwMTAwLmM6NDkxOjY6IGVycm9yOiB1bnVzZWQgdmFyaWFi bGUgJ2luc3QnIFstV2Vycm9yPXVudXNlZC12YXJpYWJsZV0+ICAgNDkxIHwgIHUzMiBpbnN0LCBh cGVyOz4gICAgICAgfCAgICAgIF5+fn4+IGNjMTogYWxsIHdhcm5pbmdzIGJlaW5nIHRyZWF0ZWQg YXMgZXJyb3JzPiA+IENhdXNlZCBieSBjb21taXQ+ID4gICA0MDQwNDZjZjQ4MDUgKCJkcm0vbm91 dmVhdS9tbXUvZ3AxMDAtOiBkcm9wIHVubmVlZGVkIGFzc2lnbm1lbnQgaW4gdGhlIGlmIGNvbmRp dGlvbi4iKT4+IEkgaGF2ZSB1c2VkIHRoZSBkcm0tbWlzYyB0cmVlIGZyb20gbmV4dC0yMDIxMTAx MSBmb3IgdG9kYXkuPiA+IC0tID4gQ2hlZXJzLD4gU3RlcGhlbiBSb3Rod2VsbA==
On Thu, Oct 14, 2021 at 5:02 AM luo.penghao@zte.com.cn wrote:
Hi,
I review the code.
It seems I forget to delete the definition of the variable "inst",I'm sry for that.: (
I'll submit another patch soon.
I already wrote the patch and pushed it: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?i...
Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c: In function 'gp100_vmm_fault_cancel': drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c:491:6: error: unused variable 'inst' [-Werror=unused-variable] 491 | u32 inst, aper; | ^~~~ cc1: all warnings being treated as errors
Caused by commit
404046cf4805 ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.")
I have used the drm-misc tree from next-20211011 for today.
-- Cheers, Stephen Rothwell
dri-devel@lists.freedesktop.org