Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2927137ybi; Mon, 10 Jun 2019 00:51:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpQwlxlmfOCfKe720m8nKyo0OJf5UzdUAG7c4GvRuN1OLoM6rUgl6NZNO0mSZIWUkeluOy X-Received: by 2002:a63:dc15:: with SMTP id s21mr14898948pgg.215.1560153073802; Mon, 10 Jun 2019 00:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560153073; cv=none; d=google.com; s=arc-20160816; b=ADkng5COzOyleGq2x1avfqCoAoW+W2tJoN3N/YAazhrPJcFsrBQ8I0KnqwuDU/cqd6 nMIul+hiY5HvBtw72oJspvhhCCk158odzNYDvc3X/55/CVRJmPtm7qceBPJB+wUSL3yB Q7Z5I9fQK7H71qL0KYku45IhpGjMY39wV/tq9uf6hR7rTOCtXN0aJcuHbD8sR2COvhLj T+KDvSW2XN684ZRAO8/QvJNMj0fOSvf/WTQZBvmSvc+NOuCTNk/FuX40e/sFemByIfo4 JZU2RGfPOE9uOTHuS1SDR5jjIhqkPOYGrLYNW8Vpjf0UHU+SmstN0uXYCsflfD/0HyzX hRSQ== 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:dkim-signature; bh=JhaMFpc4K1InEXP3zLdqEpIEL3/yT14HHAbDSN2Uo1E=; b=h+2g78EQPuOG0wZ85XubMP2a96+CGs51/A2t9aT1AB7gpFJRv1EeQ6nby6ksmeNS4y hC1U3AHe9dR6yToyVN17+JcDK/eTqV1zNZSADk7MD5J35X+VRXbPgcS5He0vsT6MpJmJ hE07IZuoMVKZk1/qtVWLbDOsfWNZ+shPOCQb7QziZH1ACQJnyKBrM7eFlHYgDDixfEu1 2esTS1nvGZNGxPNAMWRt8dya21IGZ8NXGd4ylIAHP0gacLOXT9/vN13Pp8298y3JCNMi n3+6jqmey3AyMpUuS1SJ4zMeUpt4d+zBy7jz/xH9DRPFY5n1yMVqFimgiprT7iRFdjI/ 5MqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P0OBEVWb; 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 m10si8770807pjb.36.2019.06.10.00.50.59; Mon, 10 Jun 2019 00:51:13 -0700 (PDT) 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=pass header.i=@kernel.org header.s=default header.b=P0OBEVWb; 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 S2388121AbfFJHtn (ORCPT + 99 others); Mon, 10 Jun 2019 03:49:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:36120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387946AbfFJHtn (ORCPT ); Mon, 10 Jun 2019 03:49:43 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 42361206E0; Mon, 10 Jun 2019 07:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560152982; bh=BD+0ieygl7Dt+ioJC2i2VJt6GPWW8QpVf0zDmvxzPw0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P0OBEVWbF1ysyI8eF9GyUKMGqYz3lTWXFCYwkFPemNe38pMEWt0fuyPCIoDQDK5VM 3gomGzKjAsH1zSOzskxufFtpiBD5Gydeu2nYWmgs20Sn8dxbs5g9Cvo/O/Dy1QhvKp 7gO06z241ci1zQDBt1Onx8uoxtKXaYYQX3j+2u1s= Date: Mon, 10 Jun 2019 09:49:40 +0200 From: Greg KH To: Simon =?iso-8859-1?Q?Sandstr=F6m?= Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/7] staging: kpc2000: use __func__ in debug messages in core.c Message-ID: <20190610074940.GC24746@kroah.com> References: <20190603222916.20698-1-simon@nikanor.nu> <20190603222916.20698-5-simon@nikanor.nu> <20190606125550.GA11929@kroah.com> <20190610072009.w5scsjb2aqcxm2l2@dev.nikanor.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190610072009.w5scsjb2aqcxm2l2@dev.nikanor.nu> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 10, 2019 at 09:20:09AM +0200, Simon Sandstr?m wrote: > On 06/06, Greg KH wrote: > > On Tue, Jun 04, 2019 at 12:29:13AM +0200, Simon Sandstr?m wrote: > > > > > > - dev_dbg(&pdev->dev, "kp2000_pcie_probe(pdev = [%p], id = [%p])\n", > > > - pdev, id); > > > + dev_dbg(&pdev->dev, "%s(pdev = [%p], id = [%p])\n", > > > + __func__, pdev, id); > > > > debugging lines that say "called this function!" can all be removed, as > > we have ftrace in the kernel tree, we can use that instead. I'll take > > this, but feel free to clean them up as follow-on patches. > > > > thanks, > > > > greg k-h > > Can they be removed even if they print function arguments or other > variables? Of course!