Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2154140imu; Wed, 12 Dec 2018 10:22:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/X6GpZxAo34Cn1Y4NAFVo6tlz6sulGefbCHq62tBrDxN+Se6Qd4Rj5zVf8GmZqzXohHFr9Y X-Received: by 2002:a17:902:7c82:: with SMTP id y2mr20470323pll.33.1544638966827; Wed, 12 Dec 2018 10:22:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544638966; cv=none; d=google.com; s=arc-20160816; b=wus7gTw3RE3OJHJv4nI143PGpWfjUHmA5eGVWdIcsTI2icoE18RiK28JIJKWaS0NAZ kydZSksXtbGiRxyXgtsRb/XnESrZRx2EKLBg2znySrWe3zzShmicv4LDuFmVawnZ70R4 8WrtHCt96yh5yguuwwJfFe94eIX4QE7YK2jndYVb2ZzilAf9dy103kBcOVpE9stRMjTn whc1Lt/yCAeXvW1KxklIvEFW+mWRq0xO52xuF6wVl0IH53ApAqTm5Q4Xjka64Z5TG1jH 4SqNwLTNfRSl96vCssAXXDVzjfAAs2GxRscZY+y2/i/1E/iPawO+St+9DeEninROay5T IlQA== 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=cqEZnRggMU37wphKouCmL32UKUToIz766LfJShdKBzE=; b=QeR6BpIz/d5v9InAZNopNbjszOK17MY1d4q1Ajb2f4BMYMEARt+iNE4z1m0Dc7R16T EW+BtqAWQqVGSp3r+4YqUHs2tlv0eWIDrqrQ0071wl87rCSry3yuxNzeSLffqY958Ruk GK5Tj23d//e+NsvlC1/M3CB5JnPhjp1uPSO+6aWA5JupOYWqRMUH6xdD3qo1abG4XpZm yU1QTFxy2OC5BWzzeTXZEB1Qb+3dQ2G7nN1D22PFEQUzgINQpj8XfK++llacaEmAOlNA 1vQ6FRt5H+jBnK8NyZwdCa/MkGLtAN/6KGZW6AoG0CUh+k+8dnEvjP+c4SAzX6pupAFN vVug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="fVBf/7Uq"; 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 e125si16206194pfe.14.2018.12.12.10.22.30; Wed, 12 Dec 2018 10:22:46 -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="fVBf/7Uq"; 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 S1728189AbeLLSVh (ORCPT + 99 others); Wed, 12 Dec 2018 13:21:37 -0500 Received: from mail-qk1-f178.google.com ([209.85.222.178]:33387 "EHLO mail-qk1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727748AbeLLSVd (ORCPT ); Wed, 12 Dec 2018 13:21:33 -0500 Received: by mail-qk1-f178.google.com with SMTP id o89so11357742qko.0 for ; Wed, 12 Dec 2018 10:21:32 -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=cqEZnRggMU37wphKouCmL32UKUToIz766LfJShdKBzE=; b=fVBf/7Uq+nsHGnkS72Nx8aC+J4h+WwCk9WtOUo3MtKXnF2lAOlRPfQbAgjHUhQ+L0a arFJnC3LI/ad5i5RVnh585TpIgE1Rjd42tXX+eOXz7UuSa+lxQBtRihX0UiLL2KUWN7I T1t68AgPzQDTSg1wHupdn4Js/DrNWoMM03LYx3XJQbkXSBkNfujkKGbH+9CkgUWyMR+p /b+QSR8RoNZ39lGgydUCrfwSC+1uoW+LLn8BFKHYEzUxbuQTtA9DSb/XnmHI0tjQU9pA 0/IgeIC4wWidXzaVi/u36gV8LsGL0thaUzgnLIYs42x7zq/sx9DnB81+U7Vpw1TbStz8 1o/g== 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=cqEZnRggMU37wphKouCmL32UKUToIz766LfJShdKBzE=; b=Ozjk7Rq3oE6E9ZFANJR56XmPTHAceD9uFWpstTMUDy7/UHY/t6uOfNcYzCKBQbaKo7 nDaV0nToe3y7srLM+M9x7rjdq8bXp2kEnc4f1lQhW5c5b8/zmDUKm24U+pPYhYONBcV9 hieDxUEzzUlD7M4yjAA/nD9rpql/qVdzyIzBR3QXGi3I9/cvTViIOD6IEJ37OXYJYAc7 PdNO1JmUw77hoi1N+t/wgJbeEXzeBJXkY4zQemTfvub+6P94y+p5IcXLhuLFQ810TOLt 8DM4WdW1UIAqs0aTHSgd8yjWBjq94bts91O13Ym+bRszbCJGdjbEBP025RIuuLJkgulH GWhQ== X-Gm-Message-State: AA+aEWYizYWc9SJwHBbSyEwrkEzME/vYLjPh7djD2MobfiY9pV09v+0z 3ueMToaerkmhWQh3oy9VNN70MQ== X-Received: by 2002:a37:39cd:: with SMTP id g196mr19775351qka.237.1544638892540; Wed, 12 Dec 2018 10:21:32 -0800 (PST) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id c82sm8995531qkg.5.2018.12.12.10.21.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Dec 2018 10:21:32 -0800 (PST) Date: Wed, 12 Dec 2018 10:21:27 -0800 From: Jakub Kicinski To: Yangtao Li Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] netdevsim: convert to DEFINE_SHOW_ATTRIBUTE Message-ID: <20181212102127.77910f9a@cakuba.netronome.com> In-Reply-To: <20181212164007.23881-1-tiny.windzz@gmail.com> References: <20181212164007.23881-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 Wed, 12 Dec 2018 11:40:07 -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Acked-by: Jakub Kicinski Thank you!