Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp693368ybi; Wed, 3 Jul 2019 03:11:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8uwBMA9byc9fZfEFwUQaog2+DS4bRb6wCs8kkvD8FVdVqG3tHi8JRKpbTUWXraGQJblw1 X-Received: by 2002:a63:287:: with SMTP id 129mr36706675pgc.211.1562148689419; Wed, 03 Jul 2019 03:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562148689; cv=none; d=google.com; s=arc-20160816; b=wp4YAIhRuEcdF3gBvKCobYCy01R1PgkrU6tKpcyXTPhNtvzbb9jOoYIhlyMvGoIYWB bAF3ZD56UefCTW6FXUiDibl9l+SPtvE//u3K5LzqU5XbgngNajN3QYUnWuU9ezLq0w0A 18BAwMBR7v1/XxLCHUoKK6dfdG170JownVn/HV2ri1fPNt2vSp++UznETRaQ3g/wdkEY YybD27Ur5U96cd0CS0GRbuqsFJ/S9zgb7gfqZ3xrUZYXpTh6Lb5qkzGctSGzHQVK56y7 8nrLk32jQMzUso/3fhCT4kvGDjYw5QJ/kcvMtoGuNtEqD49FQWAV93pfkAsvD0GMS+cP AJWQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UogdjOcf4yCo9Cim8mokS2CkrzMNPbnKNKeZJa8trjE=; b=eXKy+9EfoBe8dmYeVsWTT/hpq46Kc2G11d+Xz2vBQqLIWV1HJwAUc4nwJQ5H5svU01 LaPsk3hElq2Z9fHVCr1xoSGqCqXoclIIO6itLM1vCsRtNkoz7nEOcSadEFz0WH/cqG4G wSmC9sMA5vtkGcnjQo0FOwK0C67mcDF5MtN0maTcXG1dIoBTTYE6blf0r4/F2s+mXKJv EWMgLf/aA+OTvEbPTREb0IsYoS36uOEUx0hhLOlCHR/NPfLo0woXjZz1widqHcsNFd9C pskFKI6/cuAb0DwN5tqLLnKDwmlsSFDV9ztgkZSJW7KVVNjqoEz3sCqq4zYHZug65V99 B1dw== 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 x9si1833181pll.347.2019.07.03.03.11.13; Wed, 03 Jul 2019 03:11:29 -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 S1727203AbfGCKJz (ORCPT + 99 others); Wed, 3 Jul 2019 06:09:55 -0400 Received: from www62.your-server.de ([213.133.104.62]:54970 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726486AbfGCKJz (ORCPT ); Wed, 3 Jul 2019 06:09:55 -0400 Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1hicD2-0008UY-FK; Wed, 03 Jul 2019 12:09:52 +0200 Received: from [2a02:1205:5054:6d70:b45c:ec96:516a:e956] (helo=linux.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1hicD2-000Chv-8q; Wed, 03 Jul 2019 12:09:52 +0200 Subject: Re: [PATCH] bpf: Replace a seq_printf() call by seq_puts() in btf_enum_seq_show() To: Markus Elfring , bpf@vger.kernel.org, netdev@vger.kernel.org, Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song Cc: LKML , kernel-janitors@vger.kernel.org References: <93898abe-9a7d-0c64-0856-094b62e07ba2@web.de> From: Daniel Borkmann Message-ID: Date: Wed, 3 Jul 2019 12:09:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <93898abe-9a7d-0c64-0856-094b62e07ba2@web.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.3/25499/Wed Jul 3 10:03:10 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2019 07:13 PM, Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 2 Jul 2019 19:04:08 +0200 > > A string which did not contain a data format specification should be put > into a sequence. Thus use the corresponding function “seq_puts”. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring The code is fine as is, I'm not applying this.