Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcsm: rpi-4.19.y - gcc-v8 fixes #2897

Merged
merged 3 commits into from
Mar 19, 2019
Merged

Conversation

kbingham
Copy link
Contributor

Cherry-picked patches from the v5.0.y pull-request that I have also posted.

These fix compilation of the tree with out-of-tree builds (specifying O=) and using a recent GCC (8.2.0-7ubuntu1)

The vc_sm module tries to include the 'fs' directory from the
$(srctree). $(srctree) is already provided by the build system, and
causes the include path to be duplicated.

With -Werror this fails to compile.

Remove the unnecessary variable.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
The 'success' variable is set by the call to vchi_service_close() but never checked.
Remove it, keeping the call in place.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
The functions:

  vc_vchi_sm_send_msg
  vc_sm_ioctl_alloc
  vc_sm_ioctl_alloc_share
  vc_sm_ioctl_import_dmabuf

Are declared without a prototype. They are not used outside of this
module, thus - convert them to static functions.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
@6by9
Copy link
Contributor

6by9 commented Mar 19, 2019

Looks fine to me.

@pelwell pelwell merged commit e086acf into raspberrypi:rpi-4.19.y Mar 19, 2019
@pelwell
Copy link
Contributor

pelwell commented Mar 19, 2019

Thanks!

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Mar 20, 2019
kernel: Enable MT76 USB wifi modules
See: raspberrypi/linux#2890

kernel: staging: bcm2835-codec: NULL component handle on queue_setup failure
See: raspberrypi/linux#2898

kernel: f2fs: fix to skip verifying block address for non-regular inode
See: raspberrypi/linux#2896

kernel: vcsm: rpi-4.19.y - gcc-v8 fixes
See: raspberrypi/linux#2897

kernel: vc-sm-cma tidy ups, and one for bcm2835_codec
See: raspberrypi/linux#2889

kernel: staging: vc_sm_cma: Remove erroneous misc_deregister
See: raspberrypi/linux#2888

kernel: video: bcm2708_fb: Try allocating on the ARM and passing to VPU
See: raspberrypi/linux#2875

firmware: smservice: Avoid a double free

firmware: arm_loader/display: All the framebuffer allocation to be made on the ARM

firmware: isp_tuners: Fix memory leak in error path

firmware: testc: Fix dps parsing

firmware: camera_subsystem: Fix hardware sync pulses off disable_camera_led

firmware: Replace the remaining direct users of C(mask_gpu_interrupt[0|1])

firmware: arm_display: Kick transposer for the rainbow screen if required
firmware: dispmanx: Do not allow transpose if using Full KMS
See: raspberrypi/linux#2891
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Mar 20, 2019
kernel: Enable MT76 USB wifi modules
See: raspberrypi/linux#2890

kernel: staging: bcm2835-codec: NULL component handle on queue_setup failure
See: raspberrypi/linux#2898

kernel: f2fs: fix to skip verifying block address for non-regular inode
See: raspberrypi/linux#2896

kernel: vcsm: rpi-4.19.y - gcc-v8 fixes
See: raspberrypi/linux#2897

kernel: vc-sm-cma tidy ups, and one for bcm2835_codec
See: raspberrypi/linux#2889

kernel: staging: vc_sm_cma: Remove erroneous misc_deregister
See: raspberrypi/linux#2888

kernel: video: bcm2708_fb: Try allocating on the ARM and passing to VPU
See: raspberrypi/linux#2875

firmware: smservice: Avoid a double free

firmware: arm_loader/display: All the framebuffer allocation to be made on the ARM

firmware: isp_tuners: Fix memory leak in error path

firmware: testc: Fix dps parsing

firmware: camera_subsystem: Fix hardware sync pulses off disable_camera_led

firmware: Replace the remaining direct users of C(mask_gpu_interrupt[0|1])

firmware: arm_display: Kick transposer for the rainbow screen if required
firmware: dispmanx: Do not allow transpose if using Full KMS
See: raspberrypi/linux#2891
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants