Re: [PATCH] vdpa/octeon_ep: Fix format specifier for pointers in debug messages

2024-09-18 Thread Dan Carpenter
is cast > from pointer > > Fixes: 8b6c724cdab8 ("virtio: vdpa: vDPA driver for Marvell OCTEON DPU > devices") > > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Closes:https://urldefense.proofpoint.com/v2/url?u=https-3A__lore.kernel.org_r_20

[bug report] drm/virtio: Add helpers to initialize and free the imported object

2024-12-10 Thread Dan Carpenter
} 208 209 if (bo->created) { 210 virtio_gpu_cmd_unref_resource(vgdev, bo); 211 virtio_gpu_notify(vgdev); 212 return; 213 } 214 virtio_gpu_cleanup_object(bo); 215 } regards, dan carpenter

[bug report] drm/virtio: Import prime buffers from other devices as guest blobs

2024-12-10 Thread Dan Carpenter
= attach->dmabuf->resv; ^^^ The patch adds an unchecked dereference 193 194 if (attach) { ^^ The older code assumes attach can be NULL 195 dma_resv_lock(resv, NULL); 196 regards, dan carpenter

Re: [PATCH v3] vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD

2025-07-15 Thread Dan Carpenter
-linux-gcc (GCC) 15.1.0 If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202507160254.dajyaz9h-...@intel.com/ smatch