Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6188031ybx; Mon, 11 Nov 2019 05:21:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwhFIzKQoMos2I09PJYMhc+09Da/qmefQqgmO9oeJdMXOrTHnKUHy6gAMldp/q2/cKVHR1l X-Received: by 2002:a50:f05c:: with SMTP id u28mr25877426edl.265.1573478492988; Mon, 11 Nov 2019 05:21:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573478492; cv=none; d=google.com; s=arc-20160816; b=QxEVpmOuXV6LBkx8qovcrpcfzm7JBVFMCTK561IDGRNObQ9oKgVBMsCGdaKaYWTpl2 r+C9DsLbW7YdszlzwwGlXZyDfhYrogqp4yvzaAPFNfWAJL+KCcDANtQmmbcReZGV++Bv G+s5tk2SpWQW8d5BEFp9WmQcCdB+dk/+eVetmwLEdwwd/tAKsEHMVD+2BIpm1Pjg3bmw +7xkXp/szHpDYCqSINbP/yKSAXExTziAWkoGYktsSfDjLP4U1l0YjwpQAB361j+lEB4J NkOig+yEzBr02Vaex+D92sJxJMDWrxaY/fFFelqEC23AteFshYhMgg58hZMhbVLgJzYo dg9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9Zj5RzmXN9ROgQ0YY9bhF9xPkuMO2but0gmZ7x+hRfA=; b=u0mizjSUUXF68xEMdTyJYJxT57THf/tLyXZLKf4UEauabYMpViZcfySyj5n0zydYBI IKH6SoFBoI6+cZKP4aMzxQCZIlr5JZ2dIQTc2I0l0RjSCJCdEOyOOQK40rqgHte8kOOR QYPCQBRnV42ivlpx0IWV7d3SyawamSJ74Waqc2xYCm4i+enIt+Ladc/AQC6Pfnd358EY 5Y2M2oBaDD7shqqFCYp6ovkRemEW9VFCWoQV0iBFZNfvgjOKoja9Wr+lDhf8h/oPn41/ xOOb+8ooiqZJXr9tRSqYJRiV8X7oC7bC0u+OeVvCNPcQibLf4mZ7ynvXgU0UtDeeKKyr Q8YQ== ARC-Authentication-Results: i=1; mx.google.com; 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 y14si10308537edu.250.2019.11.11.05.21.08; Mon, 11 Nov 2019 05:21:32 -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; 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 S1727002AbfKKNSY (ORCPT + 99 others); Mon, 11 Nov 2019 08:18:24 -0500 Received: from mx2.suse.de ([195.135.220.15]:45086 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726845AbfKKNSY (ORCPT ); Mon, 11 Nov 2019 08:18:24 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 05DF4B595; Mon, 11 Nov 2019 13:18:23 +0000 (UTC) Date: Mon, 11 Nov 2019 14:18:17 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Diego Elio =?iso-8859-1?Q?Petten=F2?= Cc: axboe@kernel.dk, linux-kernel@vger.kernel.org Subject: Re: cdrom: make debug logging rely on pr_debug and debugfs only. Message-ID: <20191111131817.GA2770@kitsune.suse.cz> References: <20190826151640.5036-3-flameeyes@flameeyes.com> <20191103160030.GO1384@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 12:21:38PM +0000, Diego Elio Petten? wrote: > On Sun, Nov 3, 2019 at 4:00 PM Michal Such?nek wrote: > > can you change cd_dbg to a macro that always prints the device name > > using pr_debug instead of removing it? > > I can try doing that (need to figure out how, of course.) > > Should I split the change that removes the debug parameter / > ERRORLOGMASK parts? To be honest those are the parts that appear more > of a duplication than the macro itself, so it might make sense to > remove the custom debug selection, and then add the device name on top > of that? I wrote a patch that does just that because I am debugging an issue with cdrom and I need to know which device the messages relate to. Maybe you can drop this part entirely to not get conflicts. Thanks Michal