Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp263750imu; Wed, 12 Dec 2018 16:26:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/VguzsXpxXdeyTaNArpQvu4Uj/nvf1e8pVYqpD3BHjo88NwjQZFcXHsTllj/gh74J+CS1B6 X-Received: by 2002:a17:902:6a4:: with SMTP id 33mr21168789plh.99.1544660817586; Wed, 12 Dec 2018 16:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544660817; cv=none; d=google.com; s=arc-20160816; b=ZD/kYSxY/n2RunIrL/Oqz/oltYI2sDkRlhAtH4FOkSsrbrCb4Cq+KxYbA6QvB8YG4g 4NyluwyVVr3Q6o/FyvvtTa7xV66oX/YYnLcKW9ALEcRVvHXxDnIWxoZPEr6suJrozlPW 2KYbBgLYknx0XUENZToWDV7EtGk8mg19YZIa79zhxgc8zGJ5TfxDAJWXzGIMa49+PSrm 0AexuYC553X1Mi+npzkhVTW7x7cl234dexBgwwZgDwaS1QQIQXLzBRrfUBSYhMfu9rsH uuwynNA1vRbqeRIyMn3TF7vS/xGmUKAyS/Z86OjNQFS2DXcqxm118U6Hph3bA4N34Nsh k+tw== 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=QvpbLzM85TSTUprl7fu8nImp3xqkM//3kcu40Hm/xss=; b=D7gD5FcY765AtPk1bVEMFAv2VInVJbrJZz/G+86Wp8kZRJQ7MyOK9okJbXfu7vSPuV ShsiB3KHUaxsNrGInbcSiXLvj4HnNs+hc8kknefIN4GKKOkZ9FiDqxkBANnoElF+/48S kcVC5/AoiMP58wLmXeC0CeseGMe2PqrHlqtijJSbvoWSSTk9PZVWlEZvAjsy9N79ugrE ZB8nYxLoaf44+wSI94QIWTTsW03tSodrcZ3Kb0qJaMADQ8E3o5njiP+LZo7gnNLGhi+O tMxtpk4mIEzChgR88XuPHqv7uSD3/GChqSlC4+VPc9h55XobooIdJDZrT8Ny1fi/9YRL VWFg== 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 l3si205393pld.229.2018.12.12.16.26.42; Wed, 12 Dec 2018 16:26:57 -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 S1728609AbeLMAYZ (ORCPT + 99 others); Wed, 12 Dec 2018 19:24:25 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:41922 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbeLMAYY (ORCPT ); Wed, 12 Dec 2018 19:24:24 -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 455EA149B31CF; Wed, 12 Dec 2018 16:24:24 -0800 (PST) Date: Wed, 12 Dec 2018 16:24:23 -0800 (PST) Message-Id: <20181212.162423.991533645449183539.davem@davemloft.net> To: tiny.windzz@gmail.com Cc: jakub.kicinski@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] netdevsim: convert to DEFINE_SHOW_ATTRIBUTE From: David Miller In-Reply-To: <20181212164007.23881-1-tiny.windzz@gmail.com> References: <20181212164007.23881-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]); Wed, 12 Dec 2018 16:24:24 -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: Wed, 12 Dec 2018 11:40:07 -0500 > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > v2: > -update subject Applied, thank you.