Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6828008pxu; Thu, 24 Dec 2020 14:17:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdndSc8SnvA0KPkR6Y0W+vWs1a2BzypM3Oi0K39uabj2g7hD+b4kL7tknc+WlP7q7hm8DE X-Received: by 2002:a17:906:9345:: with SMTP id p5mr29191327ejw.40.1608848245080; Thu, 24 Dec 2020 14:17:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608848245; cv=none; d=google.com; s=arc-20160816; b=Cg0OaH/gzTbA2g4taF30cf8ZaQVx2n+vq0FJEiUR5fqvaBFQg7BI0qMpYz/BeZfz/Z Us+KrCrxc2zTRbLv5WVvHDZiVSvcckDFUtk48pTl0lEKYHh1K5o4g/rjrFNmEHx4kXTi 6tek1X5uyP2WpxFtk8D/AQ6uEvjI6dcKapXBci38q59j6pDaBQsHIU/9oBT1ddd8CYc1 CXnEtzAQfHO/qFNHScJhP7bfJl9uerZabnJxdV22XSc/7a2JQ+W45KFho1kUdfEowS8w cJi7jyoVvF6AYH7V7hzMRsp4Im+7Qr/rwQxk9Xi4efj/EnPqZ4rsPzkKGIeYvNNkOrhT 9QKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=OpzLpHtxke5GPVXdOMNFOhaA1c9Yik4R0aHPWq8pI48=; b=Zf2gUiKcA6tec+LCCTjdfbsDKQzUZWsUEmv0QsFjq5ivrNE6S6v8sEyVSLxuSqfarK q38FWRKOLCVglD9Iau/aE/RohjFCnE3vF14MgqaVskY2HxEJqC9zn6P23qJN7uItd9NN muNNPfU0nk261+XPtzz7LLO1XD5NCQkbQteidlzS0sya+g9LEl8/83su60ZzJHMLna4I WP0cCyS+t/zRfw7sgRbuTgeuO62Kpk1/Lh7cmAfscXDDtinYg17rP2cD8drXLToKB+V8 cbJO2kNNhsDXCfLl8kZoSDyk+CFYsyB+y7+OklY7oCtVKWsle1/TzjFErUse/H+VivpN 1jjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IafoOrdR; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si16388807edj.194.2020.12.24.14.17.03; Thu, 24 Dec 2020 14:17:25 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=IafoOrdR; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728990AbgLXWPn (ORCPT + 99 others); Thu, 24 Dec 2020 17:15:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:54757 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728958AbgLXWPm (ORCPT ); Thu, 24 Dec 2020 17:15:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608848056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OpzLpHtxke5GPVXdOMNFOhaA1c9Yik4R0aHPWq8pI48=; b=IafoOrdRB+2EYali4p7a7e2SsyfzzX/qlFMamrWcPgTbDyFgQcGagRm0NTWzwYGZ+s54bz /skhEY4YV1kIGmG6gxqXfQUVwLkdNwBmOrUmvjekPncHBh8gG/qriWmrugCyBBiZw9g7H9 aQLsKgSrt9yU9lJPv2H4GKMv4WGl1wg= Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-303--97rNZjXOxie5WRP94on0g-1; Thu, 24 Dec 2020 17:14:15 -0500 X-MC-Unique: -97rNZjXOxie5WRP94on0g-1 Received: by mail-ot1-f69.google.com with SMTP id b26so1578692oti.17 for ; Thu, 24 Dec 2020 14:14:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=OpzLpHtxke5GPVXdOMNFOhaA1c9Yik4R0aHPWq8pI48=; b=SQ0QlYBs6rLwwqkFyvkMF/pfLofmVXu3v3DuR+JSEKVvLtqCamrbIh0FxH148RmN/W bvTz7J73RCvXbyswTwI8fd20SxlYhWOszDboPOxJJ0aLhRcFBLkQBLUhneoH9ADKx/T0 VkMBw2sePTcT2Jeo6n7O2DovGX1jt8aRa+PvpK6VjOEo8eOvDj1TslVhBxj2kZdZOhI3 gR9Zev63ZXJbbtmxpQi0c+53T2l4kcb0TOHAvceLrd4ilOjDX0Yq3jJArIZwRNG7YZAR yxCiUt7ASZS5iCOMBo6e9kswSjCG8ZSkEKB/mfUShUzz6HkR/UjF38qwkJAM+sKD7xqI rVmg== X-Gm-Message-State: AOAM530aT0fwS3E0O8rXTxsO3pEjzAxJVYXFUoTUY02ri8iY71out5dS /EKqMohnkZRo5xxhg8T4Nkpd96ugVGhEGWFGHvfvMAWvLChwwPJUNc5kG2xnIgTH+wyewOzUdVr CWV7cT5HEXaG+Yr/ctEMgH1YwuCRl0uJoKKSLc1ObZOuTu72l1jxFV++0RKnLwJRjUF1U4Io= X-Received: by 2002:a05:6808:49a:: with SMTP id z26mr3795021oid.137.1608848054286; Thu, 24 Dec 2020 14:14:14 -0800 (PST) X-Received: by 2002:a05:6808:49a:: with SMTP id z26mr3794998oid.137.1608848054077; Thu, 24 Dec 2020 14:14:14 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id n16sm7090100oov.23.2020.12.24.14.14.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Dec 2020 14:14:13 -0800 (PST) Subject: Re: [PATCH] nfp: remove h from printk format specifier To: Simon Horman Cc: kuba@kernel.org, davem@davemloft.net, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, gustavoars@kernel.org, louis.peens@netronome.com, netdev@vger.kernel.org, bpf@vger.kernel.org, oss-drivers@netronome.com, linux-kernel@vger.kernel.org References: <20201223202053.131157-1-trix@redhat.com> <20201224202152.GA3380@netronome.com> From: Tom Rix Message-ID: Date: Thu, 24 Dec 2020 14:14:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201224202152.GA3380@netronome.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/24/20 12:21 PM, Simon Horman wrote: > On Wed, Dec 23, 2020 at 12:20:53PM -0800, trix@redhat.com wrote: >> From: Tom Rix >> >> This change fixes the checkpatch warning described in this commit >> commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") >> >> Standard integer promotion is already done and %hx and %hhx is useless >> so do not encourage the use of %hh[xudi] or %h[xudi]. >> >> Signed-off-by: Tom Rix > Hi Tom, > > This patch looks appropriate for net-next, which is currently closed. > > The changes look fine, but I'm curious to know if its intentionally that > the following was left alone in ethernet/netronome/nfp/nfp_net_ethtool.c:nfp_net_get_nspinfo() > > snprintf(version, ETHTOOL_FWVERS_LEN, "%hu.%hu" I am limiting changes to logging functions, what is roughly in checkpatch. I can add this snprintf in if you want. Tom > > If the above was not intentional then perhaps you could respin with that > updated and resubmit when net-next re-opens. Feel free to add: > > Reviewed-by: Simon Horman >