Message ID | 20210105162030.1415213-4-phil@raspberrypi.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | A trio of vchiq bulk transfer fixes | expand |
diff --git a/drivers/staging/vc04_services/interface/TODO b/drivers/staging/vc04_services/interface/TODO index fc2752bc95b2..0bcb8f158afc 100644 --- a/drivers/staging/vc04_services/interface/TODO +++ b/drivers/staging/vc04_services/interface/TODO @@ -91,3 +91,7 @@ The first thing one generally sees in a probe function is a memory allocation for all the device specific data. This structure is then passed all over the driver. This is good practice since it makes the driver work regardless of the number of devices probed. + +14) Clean up Sparse warnings from __user annotations. See +vchiq_irq_queue_bulk_tx_rx(). Ensure that the address of "&waiter->bulk_waiter" +is never disclosed to userspace.
Record in the TODO file that the address of "&waiter->bulk_waiter" should never be returned to userspace. Signed-off-by: Phil Elwell <phil@raspberrypi.com> --- drivers/staging/vc04_services/interface/TODO | 4 ++++ 1 file changed, 4 insertions(+)