Received: by 10.223.176.46 with SMTP id f43csp3111331wra; Mon, 22 Jan 2018 08:34:53 -0800 (PST) X-Google-Smtp-Source: AH8x227g+UU0CfaVzuurtGxhgD7cQNXoU2fI/SwlQUrAClrW0fBskYxeujjzeuDIFoVJnIJmwD0r X-Received: by 10.36.215.134 with SMTP id y128mr8920348itg.114.1516638893409; Mon, 22 Jan 2018 08:34:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516638893; cv=none; d=google.com; s=arc-20160816; b=Bf/heqj3jIW71NIsnccfoOhmYcI9B8dVzWQaQFYfKQaUnoxNezyHjmwWo/UAYyIq8S ELmlUOFNQKzmbsV2GPq0h60gX3rWmEtlAqoI5LcujabStV8NmhFoUDCtSfHfMSCMQBud NfejfjaiMV8Hft6dnoFA95BGEbaVtZB+MMfCEOg0gQEwUJw6AmYXO68Tc2O2u2EMIBEU ekZsd/TpFFzhVo6elkYrDKp/HtNNWjC8ZPqz7WjAe4RFtD6M80LglL5z7ya6ZpCUvsXv yOo0LqmWwdnNGB0867QgcyE3/GFB37ltCdfbB/HTv43NCtz8f/miDVmXsjiJ3K78fydd ez9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=fedddSJG4tTJ42v/kzcsCZrO3cYuLWxrt1BdJ94UXYo=; b=xn+qRTJJPnpdfL8kZ9XM2ndse7+DPOJOvaUg6McHQ3YjtLSeBYHGA2y0cvGk7h17Vw 5lghQAhTyptGw33yi4e5Xt3FCFNeAYIQD6DLmklJZ7hfYlIJOlgw0qNQ3PsIzisIABrI WIIfUIv86GqcrJyQosmhOOk9vNmo5UVcrdS5UExG07ohSciK4NOzhM867xZcfYtRosQW qHKQJEukdUv6Mt/+zHPyo3LMFOWoK290kJLdk7fdC/29pDRQJ9/us7yseb0IBuO8jlVl V/Pz/a0FMqRBeent9jSa1MKVSWj0/An9Dn+CuzvtqlxA+kIG2nec60buLzf9tiQDhrmx oVEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=gRjNz4pe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q186si13594325ioe.307.2018.01.22.08.34.39; Mon, 22 Jan 2018 08:34:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=gRjNz4pe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbeAVQdj (ORCPT + 99 others); Mon, 22 Jan 2018 11:33:39 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:42606 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeAVQdi (ORCPT ); Mon, 22 Jan 2018 11:33:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1516638819; x=1548174819; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=vT467noB0IVSaAWc46a9ZcBeZieHrZ1FcNkOukL3Hlo=; b=gRjNz4pe/PtjWqiwTC50VmDfFWpWZoulXO/HwPfLIRgRybMqgP/aOnHF FMNlPbGxOxYEJcq676EEvkWJpLTNbCJWp+ybT9mJFT/+6Kau1A+j7se5/ 9AFAC97dg1kMS9XTY88qehhffsln+rBbRaVmNyqkjtJ5VyQtUd/8icLiN xG7abE6T7UAAOIvV3zTdiu/u2WFgNL/rhac1NSpa+0LbLX9J2E0hAdw+I PodfPI2zqsYWl7+t2PjWTcbsiYWbXJtArfmrYbzYxA8cCWdRJ8vNzKKJz Vm29jTweKCItHtsFGUyKFaQOzCleAy7S+gAPwTE5IBe8sd5w1epXQ0X8W A==; X-IronPort-AV: E=Sophos;i="5.46,397,1511798400"; d="scan'208";a="70160509" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 23 Jan 2018 00:33:39 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP; 22 Jan 2018 08:28:36 -0800 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO [10.11.171.236]) ([10.11.171.236]) by uls-op-cesaip01.wdc.com with ESMTP; 22 Jan 2018 08:33:38 -0800 Subject: Re: [PATCH TRIVIAL] bsg: use pr_debug instead of hand crafted macros To: Johannes Thumshirn , Jens Axboe Cc: Linux Block Layer Mailinglist , Linux Kernel Mailinglist References: <20180122075348.6974-1-jthumshirn@suse.de> From: Bart Van Assche Message-ID: <8ecbf7d2-b056-cd93-ebf3-b4eaf22f7abe@wdc.com> Date: Mon, 22 Jan 2018 08:33:37 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180122075348.6974-1-jthumshirn@suse.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.