Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3475451ybb; Tue, 31 Mar 2020 06:08:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vunHT8fwkCz7g4f57PuwQo71TELRMzfnlDmnFwlXrzK9oN4A5idnUzpXsxO7h5rPZ7djUc8 X-Received: by 2002:a9d:a22:: with SMTP id 31mr12374292otg.349.1585660093756; Tue, 31 Mar 2020 06:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585660093; cv=none; d=google.com; s=arc-20160816; b=XG9mzawyzTDx6e64wgATuXA4FRxC7aUPoEAYqVpj2v64KV8QKeK3ONlm2ssz6yge8T YQvn/AMx/PRVukYsrEWKw3ai+BlRNsZlzZ4Umt3uKR9wVAluXaiQ876H0i3gxEZ74mXu 4etv74IdO/TtRuZNq9Xby4hiTV3C7yz4/nRDXb0adO+9Nz7YqXZPGG1DxMtqI4GrcSnr Qa2B75cTUlcD1MbWpyfEOz0OFI863ywpnPSfw/VImCfV7F/QJtk3+VDo7MJVtF9yZOVY UpDjBPeESvyQrjKemOaqEVpKbYEVMhyNuxZW6ky84AYL92plLEiD732sN+Am5NW+fSuq If+w== 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=TEnvRQUG2NaO2WXEs+JHaZkj1OJo/2Aq4DgDrJCFUmo=; b=GWTm6LRlCI32SEFMLtP+3Lgt+WQ30mNItNSMjfR0NCNCqJGlcY98JZmP3OxNAghU1K YdDNjSbOaPD1YLnjUWopP6UsY/X9ZC3i8nwTB0g8SwcInjGI5jwCFUmVrpoZ6YPmvGJK S9LEHfFFaIxOeFrLL5TxY/lrW+JAwtmMa7bSDvQnOf3sTw2+SYDu1yfCEM9le7pG6ZhM FRlZDVq0mE83kyLlJlzhWsIsPVeI+ePKh2mMp5aL6KiZJ6OTpNXobvSEjMJhGcz3zfmS LmxYsZoxWFjmR2kd9ExRZ4SsIBqz1P6ILhCFTahrYxFR0ZbFsiArVx0HpvFRLsytnhks Ne6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HK2UfQWU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f18si8045666ooj.15.2020.03.31.06.07.48; Tue, 31 Mar 2020 06:08: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=@redhat.com header.s=mimecast20190719 header.b=HK2UfQWU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730796AbgCaNGo (ORCPT + 99 others); Tue, 31 Mar 2020 09:06:44 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:22395 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730473AbgCaNGo (ORCPT ); Tue, 31 Mar 2020 09:06:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585660003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TEnvRQUG2NaO2WXEs+JHaZkj1OJo/2Aq4DgDrJCFUmo=; b=HK2UfQWUnVIv+vPfMYr3+in6ht+/OBsPo4JrJKLCmKBqQzZIevCzqTRSNZKMEjQ6nMZwli hmipU17TQXODFbPOQKeWn9bszTvIiPxVvNcVDfBfVdg6VR+trQUiiodfo930EpTaXOv2cW hkCjDAOl8zMcpqthBbNasfmgej6iluA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-298-eoYx2jAsPdKOexGShbHIyg-1; Tue, 31 Mar 2020 09:06:41 -0400 X-MC-Unique: eoYx2jAsPdKOexGShbHIyg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 430DA80573C; Tue, 31 Mar 2020 13:06:40 +0000 (UTC) Received: from localhost (ovpn-116-139.gru2.redhat.com [10.97.116.139]) by smtp.corp.redhat.com (Postfix) with ESMTP id 87C7F94B5C; Tue, 31 Mar 2020 13:06:36 +0000 (UTC) From: Bruno Meneguele To: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Cc: davem@davemloft.net, micron10@gmail.com, ast@kernel.org, Bruno Meneguele Subject: [PATCH] net/bpfilter: remove superfluous testing message Date: Tue, 31 Mar 2020 10:06:30 -0300 Message-Id: <20200331130630.633400-1-bmeneg@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A testing message was brought by 13d0f7b814d9 ("net/bpfilter: fix dprintf usage for /dev/kmsg") but should've been deleted before patch submission. Although it doesn't cause any harm to the code or functionality itself, i= t's totally unpleasant to have it displayed on every loop iteration with no r= eal use case. Thus remove it unconditionally. Fixes: 13d0f7b814d9 ("net/bpfilter: fix dprintf usage for /dev/kmsg") Signed-off-by: Bruno Meneguele --- net/bpfilter/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bpfilter/main.c b/net/bpfilter/main.c index efea4874743e..05e1cfc1e5cd 100644 --- a/net/bpfilter/main.c +++ b/net/bpfilter/main.c @@ -35,7 +35,6 @@ static void loop(void) struct mbox_reply reply; int n; =20 - fprintf(debug_f, "testing the buffer\n"); n =3D read(0, &req, sizeof(req)); if (n !=3D sizeof(req)) { fprintf(debug_f, "invalid request %d\n", n); --=20 2.25.1