Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp490610yba; Thu, 16 May 2019 04:23:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2J6EbL5msdEJbhG1eR4jXqcMM3wME1ueph9RzPgEHCYLf7CgKp/jW/uqOvXOyIVuTfQ6B X-Received: by 2002:a17:902:5a47:: with SMTP id f7mr24612524plm.321.1558005782812; Thu, 16 May 2019 04:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558005782; cv=none; d=google.com; s=arc-20160816; b=gkw4Zou9B3/82kOes0iik5ij42OZ1D+LbJ79NhFKK1IIiBOyTwpyhg/PIGwPCnbZij KuBVdCbWvLo061quE2kmiGV2FJ/oa2ADcadbpEbzkCM7El1mcGn8PYqS4djCEKTyqVSq 4m7zns0GOcknDEu/1Ngkq6tGQs0C+WdYob5XN1NhjOVaUhwYS/F1JrBuANF86RrcBDea xiEO3pyiO814oRjJGs1ivfYGzM8KTiA4OceY9f3HVtxuGrA90o0OPHyMjTZzXAFAoeWj BfYSjNJjijmkFdw4H64rq4a8QlmET04qC2+00fI3HgAbvaxDjITBUDdOS2bvhJkbpmgS S3Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=LdyjMYp/5CYUysLh/C0PWzwxo3ahPbrymmywJfwkej4=; b=itbeKZ4EEzLVWX9Pkhhr66LyBUq2jDh4dFo5DNWM3MW3lA4qmCVSO9vB+Piku9yqLf qIYleSHajYZckPIg7oFD3p2gddLJNzZgDHSvdpgYHOKpSC7ZTtswTggRUKe5uL/aFmcP 3SG2+OAhj/IJMJNMCkozl/sDc23Bz1Hk6SePKxze6xqqPXPDGtXYwGy0NGmuBDocw+Vq 7vNhV509SZIjXafAihynMU0JO7QrElZYeonLVNyFRpHLCUueUY8pErbVA9jpZ4sx9Gi4 Qs2vkooh7CNzedKAlRJZTq/gpX0uO36DSIDY3Flc0clviODmU9IjSO/BiC9WafmvM5sJ +PLA== 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 m3si4653502pgv.28.2019.05.16.04.22.48; Thu, 16 May 2019 04:23:02 -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; 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 S1727196AbfEPLVa (ORCPT + 99 others); Thu, 16 May 2019 07:21:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:33932 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726383AbfEPLV3 (ORCPT ); Thu, 16 May 2019 07:21:29 -0400 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 CDC6CAEC6; Thu, 16 May 2019 11:21:27 +0000 (UTC) From: Michal Rostecki Cc: Michal Rostecki , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Jiong Wang , Mathieu Xhonneux , linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, xdp-newbies@vger.kernel.org Subject: [PATCH bpf-next 0/2] Move bpf_printk to bpf_helpers.h Date: Thu, 16 May 2019 13:20:56 +0200 Message-Id: <20190516112105.12887-1-mrostecki@opensuse.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series of patches move the commonly used bpf_printk macro to bpf_helpers.h which is already included in all BPF programs which defined that macro on their own. Michal Rostecki (2): selftests: bpf: Move bpf_printk to bpf_helpers.h samples: bpf: Do not define bpf_printk macro samples/bpf/hbm_kern.h | 12 +++--------- samples/bpf/hbm_out_kern.c | 2 ++ samples/bpf/tcp_basertt_kern.c | 7 ------- samples/bpf/tcp_bufs_kern.c | 7 ------- samples/bpf/tcp_clamp_kern.c | 7 ------- samples/bpf/tcp_cong_kern.c | 7 ------- samples/bpf/tcp_iw_kern.c | 7 ------- samples/bpf/tcp_rwnd_kern.c | 7 ------- samples/bpf/tcp_synrto_kern.c | 7 ------- samples/bpf/tcp_tos_reflect_kern.c | 7 ------- samples/bpf/xdp_sample_pkts_kern.c | 7 ------- tools/testing/selftests/bpf/bpf_helpers.h | 8 ++++++++ .../testing/selftests/bpf/progs/sockmap_parse_prog.c | 7 ------- .../selftests/bpf/progs/sockmap_tcp_msg_prog.c | 7 ------- .../selftests/bpf/progs/sockmap_verdict_prog.c | 7 ------- .../testing/selftests/bpf/progs/test_lwt_seg6local.c | 7 ------- .../testing/selftests/bpf/progs/test_xdp_noinline.c | 7 ------- tools/testing/selftests/bpf/test_sockmap_kern.h | 7 ------- 18 files changed, 13 insertions(+), 114 deletions(-) -- 2.21.0