terry0012 commented on PR #10526: URL: https://github.com/apache/nuttx/pull/10526#issuecomment-1712328771
> @terry0012 please fix the following error: > > ``` > /github/workspace/sources/nuttx/drivers/video/fb.c: In function 'fb_write': > Error: /github/workspace/sources/nuttx/drivers/video/fb.c:420:5: error: 'struct fb_chardev_s' has no member named 'pollready' > 420 | fb->pollready = false; > | ^~ > /github/workspace/sources/nuttx/drivers/video/fb.c: In function 'fb_get_planeinfo': > Warning: /github/workspace/sources/nuttx/drivers/video/fb.c:1166:57: warning: passing argument 3 of 'fb->vtable->getplaneinfo' from incompatible pointer type [-Wincompatible-pointer-types] > 1166 | ret = fb->vtable->getplaneinfo(fb->vtable, fb->plane, &pinfo); > | ^~~~~~ > | | > | struct fb_planeinfo_s ** > /github/workspace/sources/nuttx/drivers/video/fb.c:1166:57: note: expected 'struct fb_planeinfo_s *' but argument is of type 'struct fb_planeinfo_s **' > Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1174:3: error: 'panelinfo' undeclared (first use in this function); did you mean 'mallinfo'? > 1174 | panelinfo->fbmem = pinfo.fbmem; > | ^~~~~~~~~ > | mallinfo > /github/workspace/sources/nuttx/drivers/video/fb.c:1174:3: note: each undeclared identifier is reported only once for each function it appears in > Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1174:28: error: 'pinfo' is a pointer; did you mean to use '->'? > 1174 | panelinfo->fbmem = pinfo.fbmem; > | ^ > | -> > Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1175:28: error: 'pinfo' is a pointer; did you mean to use '->'? > 1175 | panelinfo->fblen = pinfo.fblen; > | ^ > | -> > Error: /github/workspace/sources/nuttx/drivers/video/fb.c:1176:28: error: 'pinfo' is a pointer; did you mean to use '->'? > 1176 | panelinfo->bpp = pinfo.bpp; > | ^ > | > ``` got it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
