Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7318621imu; Mon, 3 Dec 2018 10:55:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/Us/yMIkMdkYyoE/JZLewgOKX4apjK9Jq6YV1HnNU5wPUo1x9tslcJqZl1no81PbyryG7Jg X-Received: by 2002:a62:e511:: with SMTP id n17mr16931178pff.71.1543863301413; Mon, 03 Dec 2018 10:55:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543863301; cv=none; d=google.com; s=arc-20160816; b=VY9sChQIvBXqM1TaBpjVNJBZkKAL1Ccqr3e0g1Eiownr1EwILS367m2brUj3a2pj4y w1zWILnJ+neqOCZfQW5hbE01rfoyhTahyPbkDvR0w593yEXoZf/FmqvHAecNHzk0vtxm mM2lmNqTXMXioF7m7UNo2bPmQ7tiDrG8Jez48L92qU+woFkn+xiZUsNy7F+Xwmg+pwG3 /p7VqeGJNu2I5l/HPV2xhhn6r+BQ9ODMOtzc/XOF8kGj3ZLrVs5bfwZCKKGZ34koC+TS /iOzwa/wz3aUDAelLQ+lwdGc0+A2h0QmbUJLivwA06hO8G1WJrm3IbNI79McXIow3U3n M1yA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=rAAx7BZibKLvxgAREOeqyaB/D2qK74/zIA/3uaPuhYE=; b=j1Cu6vSAiy6y2huGHtwh2Qa9H5wmMA1pySrqi82HTysXA4e71EsikRaN+zb9Axm+ng Xcw2V1ciQ0JBe5MHhuVLhyCXWPUcspCkbFnB/31KB5vrjcvzpTHFYrfUv9s0ULXiARF5 r1zd1musfe/G/3E4X+pDd6iMe8oH1LK2M489uIhRXwmXp79FCjy41XfhO0OnpcqbUD1l g/LznUwFV3mQ6q37VjnahPh38gujWU7TlWq9VuDHfsEpp1BhFA2EegyurzA4ZpwsuTev dcDZtb7dNR6AshadeH8WCZUa/jMpqri1XHRuzWHDziV0X5hkt8c1KiKCiYcIofhK5ttw bXYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=uq6iHASD; 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 f10si11861035pgo.356.2018.12.03.10.54.46; Mon, 03 Dec 2018 10:55:01 -0800 (PST) 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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=uq6iHASD; 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 S1726983AbeLCSyD (ORCPT + 99 others); Mon, 3 Dec 2018 13:54:03 -0500 Received: from mail-pf1-f177.google.com ([209.85.210.177]:41736 "EHLO mail-pf1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726870AbeLCSyD (ORCPT ); Mon, 3 Dec 2018 13:54:03 -0500 Received: by mail-pf1-f177.google.com with SMTP id b7so6829874pfi.8 for ; Mon, 03 Dec 2018 10:54:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=rAAx7BZibKLvxgAREOeqyaB/D2qK74/zIA/3uaPuhYE=; b=uq6iHASD308tXE/7x5vkUN5hJmC8w1BGNJoKSy278AnPpWRETdaYoLtfwgNQb7EFkt +MBfURyIoiOWAT/eqsunRbVht1B6KIgkX+9Va0PFVvXu6c7abmbh6Yt/QWniB87eOtPC cCVOP8M0RBiPnZioyM+77FivvzXIo7VRI4K6va+qA5StSFUhy5k9MDrwqaoFr/W43A9G n4vemrFd2+HDy0VEBlN4bjRQbyJxyHSRwk+TydRijf1sXMOWLfseMTcxCncPCSsFdHn0 t9f5M4SDl888/7r42hVq68LIVnqKG6aP4/juylM2WhnhtY7tmmkHDl/BfslLka34fYeC /R5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=rAAx7BZibKLvxgAREOeqyaB/D2qK74/zIA/3uaPuhYE=; b=aNx2OgZUyj5aC9hT6m1zElYQwXAuo242N70ePIsFgEI4qD6L5Qf2NSw+kkGzeNj7JH oW+y8zz0qAqV6mG4ti70j4kKIazcHI6JxRp0RBvMaqw9t9DU/qACIsUd6ZIrMCxNaHh0 MPr1v9b2k648eV9Z2VnIgqWgbE8ztuMeSaB/pzScUd1yGZyXLOnlBafW1dgzKPAavjOl fxHIi9pr3/E7YqM3XxN/7NGyYI9acgylMKUO2xie2p08NLf4p6HGX9qN46LWy1nax+Va NciUhtoe2dUn9E8dBi3Cd6RnoSJnykLDLkMM/8JhbmdvrUH5Nraywo1tS5MD/qoLCHnK rUMw== X-Gm-Message-State: AA+aEWbxY9ZxKr7Qdgf/fvSteslLBhMN8mtl59TN0eCVCEmQ7sZiunYa Pwcl+poNxqCAPvPkI6C/0qy25w== X-Received: by 2002:a62:5444:: with SMTP id i65mr17594424pfb.193.1543863240511; Mon, 03 Dec 2018 10:54:00 -0800 (PST) Received: from cakuba.netronome.com ([2601:646:8e00:727e::5]) by smtp.gmail.com with ESMTPSA id c20sm27112031pfc.92.2018.12.03.10.53.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 10:54:00 -0800 (PST) Date: Mon, 3 Dec 2018 10:53:56 -0800 From: Jakub Kicinski To: Yangtao Li Cc: davem@davemloft.net, nick.viljoen@netronome.com, joe@perches.com, oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nfp: convert to DEFINE_SHOW_ATTRIBUTE Message-ID: <20181203105356.1c60e5b8@cakuba.netronome.com> In-Reply-To: <20181203141335.12928-1-tiny.windzz@gmail.com> References: <20181203141335.12928-1-tiny.windzz@gmail.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Dec 2018 09:13:35 -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Acked-by: Jakub Kicinski