Re: [PATCH TRIVIAL] bsg: use pr_debug instead of hand crafted macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/21/18 23:53, Johannes Thumshirn wrote:
-	dprintk("map hdr %llx/%u %llx/%u\n", (unsigned long long) hdr->dout_xferp,
+	pr_debug("map hdr %llx/%u %llx/%u\n",
+		 (unsigned long long) hdr->dout_xferp,
  		hdr->dout_xfer_len, (unsigned long long) hdr->din_xferp,
  		hdr->din_xfer_len);

Should the indentation of the arguments have been adjusted?

@@ -299,7 +292,7 @@ static void bsg_rq_end_io(struct request *rq, blk_status_t status)
  	struct bsg_device *bd = bc->bd;
  	unsigned long flags;
- dprintk("%s: finished rq %p bc %p, bio %p\n",
+	pr_debug("%s: finished rq %p bc %p, bio %p\n",
  		bd->name, rq, bc, bc->bio);

Same question here ...

Thanks,

Bart.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux