Merge tag 'pci-v5.1-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[linux-2.6-microblaze.git] / block / bsg.c
index 44f6028..50e5f8f 100644 (file)
@@ -177,6 +177,10 @@ bsg_map_hdr(struct request_queue *q, struct sg_io_v4 *hdr, fmode_t mode)
                        goto out;
                }
 
+               pr_warn_once(
+                       "BIDI support in bsg has been deprecated and might be removed. "
+                       "Please report your use case to linux-scsi@vger.kernel.org\n");
+
                next_rq = blk_get_request(q, REQ_OP_SCSI_IN, 0);
                if (IS_ERR(next_rq)) {
                        ret = PTR_ERR(next_rq);