Tag: 514dd88df707a1094e937c20d5a0b1ec619e1f96

staging: slicoss: Add error check for pci_map_single

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Currently, DMA mapping failure is not detected, causing the hardware to attempt a DMA from an invalid address. This patch adds the corresponding error check for pci_map_single i.e. pci_dma_mapping_error. Problem found using the following Coccinelle semantic patch: // @@ expression e1; identifier x; @@ x= ( *dma_map_single(…) | *dma_map_page(…) ) …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.