Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7682120imu; Mon, 3 Dec 2018 17:33:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/WjKyPPkT+82WBTGsEAA2eBsbeX8o3i8dwLh2qE9wEkUcHxo0xz61qc1kEJCvLD1gpm5biy X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr18195622pll.111.1543887181655; Mon, 03 Dec 2018 17:33:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543887181; cv=none; d=google.com; s=arc-20160816; b=liHtlJ2vmD829G136RPY4YPZP4sfBQnIL196YVKy6dn+6EQxxijQ64Lgua8lqYx/ny GG6fPJBiY3rGfDD6XN3JItdWdZlA2u6T8+7iufUMQb6PqQQBV0C1jc3lX1NErC0pdlFE jKRbx+E9SsqOl/br7gKat9gX8LhPjvjwOIcXIzbCZFhdzX3ewKkC+wKaX86H5viJhiE/ JtmYRAXpXxeEz/uaaFwupzk51oV8O40iWM2uEFkeGVZKvOvY3ujTStAFUloTbV2ydh34 kyjAPlgYASAl5fRMkosj64obEiA9xFtAA51Drl9CCSfV9LphONNOQ5mM7L+b1c6TXWbT 7BqA== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=QKOEaV5RKS1zro4k60PUXIvq9Xm2GnOMDZMiKE9mu8g=; b=cwTl0hzDdxcQjlzoLvFzA3EeqoULn/9uueGAzBJOekVIQqMp+4UEUcZKrNpM1P2O4Z Gxuir9TU1xol/FasBUNzRhTBUVkQ/cKG2tVAPCIrf5lBvJaSfiglf3CjUVRgHUyu1Kkj 3Fd8fop+RSO0TWgfv24zpXwqVBRp0ZfL0qXLjJ1xpie+RMmzvmiA0ZdZsKhUfDsFHg97 BQe0cXVgEO1UhPg+6Se3N2V+1g4EnonYRMLyGNAeTCCLKNi4iDhS8fmr4L+MmldNrRsC D6REoQ5wXvRVLxSV95droZmbzq1rg2ParKUWFriEwZgbOC2ouV4aFpfdhP1uGOjeBifa wLng== 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 a10si1344389pgq.270.2018.12.03.17.32.46; Mon, 03 Dec 2018 17:33: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; 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 S1726130AbeLDBaS (ORCPT + 99 others); Mon, 3 Dec 2018 20:30:18 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:52080 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbeLDBaP (ORCPT ); Mon, 3 Dec 2018 20:30:15 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id E1207133FACA4; Mon, 3 Dec 2018 17:30:14 -0800 (PST) Date: Mon, 03 Dec 2018 17:29:43 -0800 (PST) Message-Id: <20181203.172943.562053045077746573.davem@davemloft.net> To: tiny.windzz@gmail.com Cc: jakub.kicinski@netronome.com, 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 From: David Miller In-Reply-To: <20181203141335.12928-1-tiny.windzz@gmail.com> References: <20181203141335.12928-1-tiny.windzz@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 03 Dec 2018 17:30:15 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangtao Li Date: Mon, 3 Dec 2018 09:13:35 -0500 > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Applied.