Merge tag 'dma-mapping-5.15' of git://git.infradead.org/users/hch/dma-mapping
[linux-2.6-microblaze.git] / arch / powerpc / platforms / ps3 / system-bus.c
index cc5774c..c8b50fe 100644 (file)
@@ -662,7 +662,7 @@ static int ps3_ioc0_map_sg(struct device *_dev, struct scatterlist *sg,
                           unsigned long attrs)
 {
        BUG();
-       return 0;
+       return -EINVAL;
 }
 
 static void ps3_sb_unmap_sg(struct device *_dev, struct scatterlist *sg,