]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Staging: kpc2000: kpc_dma: Resolve cast warning and use const for file_operation
authorVandana BN <bnvandana@gmail.com>
Mon, 13 May 2019 13:43:27 +0000 (19:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 05:40:40 +0000 (07:40 +0200)
commitd34141ebd7e74cc4e68fe58b2d30eb5dcf1e7aeb
tree7d1229c18d9e295fe8bc53ce405125c65dd818d3
parent1c13ef4fa1817d2eb5d19f53ac02a4d7e44cefe0
Staging: kpc2000: kpc_dma: Resolve cast warning and use const for file_operation

This Patch resolves unnecessary cast warning and const file_operations
reported by checkpath.pl
WARNING: unnecessary cast may hide bugs
WARNING: struct file_operations should normally be const

Signed-off-by: Vandana BN <bnvandana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/fileops.c
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h