Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp307208ybt; Thu, 9 Jul 2020 23:46:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRT1HDMqGc44YsmBFtw0QTYi56wIqqjunrF8uOMehXCUA0KPtsRwh1Zf9/bInKWBdoZU9+ X-Received: by 2002:a17:906:8688:: with SMTP id g8mr58882843ejx.505.1594363588157; Thu, 09 Jul 2020 23:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594363588; cv=none; d=google.com; s=arc-20160816; b=YGrHeNRfOWbrW4TGD4bctDxItWl7vtoKvF7L6ahnxCWIjvSbtUrL+X8hpQWdWKR+9w sl3iSVovrIV61nkVxuD3sdU0LMQ+m+vYNOcvBE9ohI43JpJ94KL6JZ1rdakGc6zmJAL4 N8B1hmvrnhiTcUzPdY54VRrfZmXtT1qJhA7OEEi2g8Z1Zs1AAcIwNzWH1h0dhkbTgyZ7 vlp0em4A48N3njZJDSrupqmnvN6ETZMDWmqW8hHXdr0sTxsqq2ZlKV5MR1hn1ymEAZja V/H6fMmiulhW5/x7eOvcVhgVCFmhqTpa5WA4vNZ2oKzEREpH9KE3ZWEidWmGY1pfAB0Z JoNw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HJUQ2Pd7TJkImq79MbbmeRR4vOSl3IUThdPOJ2RuPkM=; b=K3L228jbOR7YyrnyPGkgGmsyv3+thm4w5QM9UtEcO0Bzx0N7GGzYDg7Jk+bjs97Q0m Lnid0AiM8GFZ97FVKpsm+K0/ygkcw/T24X26vy1VtMp9znQhwj2ELzg48QimUt39TC1C UUBpy2j4BFkV6ga7jYihOS81w/cThlX2x/zLxZC5sYT0SRPPwzbl9mEmhYtYZ3FxRGzl /ZWV+RNBb/d9cp2AgIsgKrNlEhpJiBDV9bNu8yJsUJ/m1RSBLzmAR/ox1vPY8ius8EjC dQCxY7FKvuNQJK0oDReArWhGDiqc6D8IWCtTgwXV+zWdpqthDbRXEwQaMIpMgC/jCTaM ye4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UYFps1qc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si3369591edw.233.2020.07.09.23.46.04; Thu, 09 Jul 2020 23:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UYFps1qc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727771AbgGJGpi (ORCPT + 99 others); Fri, 10 Jul 2020 02:45:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbgGJGph (ORCPT ); Fri, 10 Jul 2020 02:45:37 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24558C08C5CE for ; Thu, 9 Jul 2020 23:45:37 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id u185so2125705pfu.1 for ; Thu, 09 Jul 2020 23:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HJUQ2Pd7TJkImq79MbbmeRR4vOSl3IUThdPOJ2RuPkM=; b=UYFps1qc9r4yUJciGWoc6eYA8p17nl0cKxmW5fNy55sBoKDNEy6mttr1/iezNHu2Ys dSGM2vNXaEB60P3PSceO79MgqvVFSqlobE0EDna6S4jfOtTYszpaGxN02R2NLo08RF94 PCoq8LXIptWbC/T89YXodZjGubAkTp1PapvIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HJUQ2Pd7TJkImq79MbbmeRR4vOSl3IUThdPOJ2RuPkM=; b=j32AwgaD+CMerXM4KDCGRnZK7YTaipk/0NeJhuqkgStUHgSPv6zhhv1YIekgo2uswU D3JkSJ7Hs06dWZ8R57qQNouids2VIcmc/tVaGBRK+dgtFxQ/N+9wsCV+rS+pO7iD0BQw vAvvl8SLxp3N1kXzcYQbs+e55XmwRpGLlsD47rr5LpyHxUviOsLRNkeNLwZRJ+lEbw81 KZoyAMWeSa9bMdQb1JGGFHtulvWn7ZUvrkOdAjHq7Ecl8AzjVQKYw/S83kzNmq4qVa+U gErX3ckhhPY06XAyCGLMwu13BAkbuiVWmIRhG68Ap+1IeVG+mQGAKDEWUJE8tSHboIAZ leUw== X-Gm-Message-State: AOAM531rsES81K0hk+fLgQ3XfpDIM4oq8HSR9+2Z6Z07mkRuyNxpKlxt zgGTjpljB8VYl5BJd7J51zx7SQ== X-Received: by 2002:a62:5bc5:: with SMTP id p188mr64279447pfb.56.1594363536634; Thu, 09 Jul 2020 23:45:36 -0700 (PDT) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:7220:84ff:fe09:41dc]) by smtp.gmail.com with ESMTPSA id e8sm4955029pfl.125.2020.07.09.23.45.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2020 23:45:36 -0700 (PDT) From: Nicolas Boichat To: Greg Kroah-Hartman Cc: Nicolas Boichat , Mauro Carvalho Chehab , Sakari Ailus , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [RESEND PATCH] media: atomisp: Replace trace_printk by pr_info Date: Fri, 10 Jul 2020 14:45:29 +0800 Message-Id: <20200710144520.RESEND.1.Id0f52f486e277b5af30babac8ba6b09589962a68@changeid> X-Mailer: git-send-email 2.27.0.383.g050319c2ae-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org trace_printk should not be used in production code, replace it call with pr_info. Signed-off-by: Nicolas Boichat --- Sent this before as part of a series (whose 4th patch was a change that allows to detect such trace_printk), but maybe it's easier to get individual maintainer attention by splitting it. drivers/staging/media/atomisp/pci/hmm/hmm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/hmm/hmm.c b/drivers/staging/media/atomisp/pci/hmm/hmm.c index 42fef17798622f1..2bd39b4939f16d2 100644 --- a/drivers/staging/media/atomisp/pci/hmm/hmm.c +++ b/drivers/staging/media/atomisp/pci/hmm/hmm.c @@ -735,11 +735,11 @@ ia_css_ptr hmm_host_vaddr_to_hrt_vaddr(const void *ptr) void hmm_show_mem_stat(const char *func, const int line) { - trace_printk("tol_cnt=%d usr_size=%d res_size=%d res_cnt=%d sys_size=%d dyc_thr=%d dyc_size=%d.\n", - hmm_mem_stat.tol_cnt, - hmm_mem_stat.usr_size, hmm_mem_stat.res_size, - hmm_mem_stat.res_cnt, hmm_mem_stat.sys_size, - hmm_mem_stat.dyc_thr, hmm_mem_stat.dyc_size); + pr_info("tol_cnt=%d usr_size=%d res_size=%d res_cnt=%d sys_size=%d dyc_thr=%d dyc_size=%d.\n", + hmm_mem_stat.tol_cnt, + hmm_mem_stat.usr_size, hmm_mem_stat.res_size, + hmm_mem_stat.res_cnt, hmm_mem_stat.sys_size, + hmm_mem_stat.dyc_thr, hmm_mem_stat.dyc_size); } void hmm_init_mem_stat(int res_pgnr, int dyc_en, int dyc_pgnr) -- 2.27.0.383.g050319c2ae-goog