Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 122
    • Issues 122
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Issues
  • #245

Closed
Open
Created Nov 26, 2020 by Guido Gunther@guido.guntherOwner

Please silence media/platform/mxc related warnings

I thought i broke something when building imx8-current-librem5 but then it was the camera:

drivers/media/platform/mxc/capture/mx6s_capture.c: In function ‘mx6s_vidioc_g_parm’:
drivers/media/platform/mxc/capture/mx6s_capture.c:1642:21: warning: unused variable ‘timeperframe’ [-Wunused-variable]
 1642 |  struct v4l2_fract *timeperframe = &a->parm.capture.timeperframe;
      |                     ^~~~~~~~~~~~
 ...
drivers/media/platform/mxc/capture/ov5640_mipi_v2.c: In function ‘OV5640_get_sysclk’:
drivers/media/platform/mxc/capture/ov5640_mipi_v2.c:731:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  731 |  int sclk_rdiv_map[] = {1, 2, 4, 8};
      |  ^~~

Would be coo to have fixed since this makes one miss errors in local builds. @martin.kepplinger since you're on that driver, could you fix that please? I take all the blame since i should have checked with -Werror before merging.

Assignee
Assign to
Time tracking