Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1711917pxj; Wed, 19 May 2021 12:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNagIwPuIEMFwmcKr5Fy8N2Z1T2JmBXVplc5QuYL27MjMZ0lcyWPc1/qEEtdqJV1iAdzro X-Received: by 2002:a6b:3c1a:: with SMTP id k26mr1077628iob.113.1621451161282; Wed, 19 May 2021 12:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621451161; cv=none; d=google.com; s=arc-20160816; b=Glgx6tnr9jheoeErp03lj5YgQvUhvbsIuXsXpyVTXjCwy1AFv9RRWx/pC9scjgtj+I jraCemNcEq5ySqdYN+JRfM1IcPnOnABh42B1+YzWH373LvTtUHQlLlZ1JTytd+S+ETIU i8F36+FZ20b8kUjaUOR20MhWtlw43P0Iv/DC5uoWwJotnSq8ovNmOLPu4g35saVgTPzb EZNdPwAvK09+cOtOGvtPRtnNhTxCt/qCN1LTRQ0yM7npF8xveOwWyumvYmvw4Ervi2n2 JpcDxXxKUu/wNK1hZWib4u69U1CWMwjeuFOxyTdmRQ3EyMT8EcP2kk34NvosWmRlXNOi WMEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=5kK5zPmDiySqTPz9AZYojzz9uGThxf9kCqsvsT/oC4M=; b=0HcK3UAJHHzW2iwRljhvVuarQ1Zltr9vTXdK98LeGdgjZPZ0CzmXvGrKa/0WHulFtN kxGNeBIKu7FdjsySO2MbCf4WsB5lmOoArkbcywSroba3N8HZyJmrhc3ppdbLZRN8CdU/ uC1tal844cFnrCUEMejAb0Pa3Wwjf6ZoCpND2WEtRUpiCdW8iQYt0/O5MJ1y/88gRbI8 XHfwgkU00tM1OPJcb261IY0DSMWq5YU+OPS61PXLAJCSc3g+BOfLnIuT8vpnvBru8YJj IdQh/RbN/L9PGpaeBe03J1sTRdErHtJDahbICTqOacVlhZFyzn0rslMeIfwZrdb0aGfJ Uc2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=D1mBr0xD; dkim=pass header.i=@codewreck.org header.s=2 header.b=3Q4goiSD; 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=codewreck.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si164214jat.98.2021.05.19.12.05.48; Wed, 19 May 2021 12:06:01 -0700 (PDT) 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=@codewreck.org header.s=2 header.b=D1mBr0xD; dkim=pass header.i=@codewreck.org header.s=2 header.b=3Q4goiSD; 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=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352969AbhESD21 (ORCPT + 99 others); Tue, 18 May 2021 23:28:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237742AbhESD20 (ORCPT ); Tue, 18 May 2021 23:28:26 -0400 Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A4BC06175F; Tue, 18 May 2021 20:27:07 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 9ADFAC024; Wed, 19 May 2021 05:27:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1621394824; bh=5kK5zPmDiySqTPz9AZYojzz9uGThxf9kCqsvsT/oC4M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D1mBr0xDl7jD/RRBorrON1MEMqKPP8vNSsyXNZBGe/DoGpNTYaCdtwsJZ1GULq3Zh apffmRPx50w52h5K86xV0vLECgb7CYu5UYiQwz3QobxvVw0QvJqyH1ZRVQLCFMueEH UXdntQBKijIoDtzmSmYfnN9stBFMCwS/xzUqIGeSCpiHG16ie1Wa2rfGQuquKPWRGh aEnmJZiYAXJF3D3BWP/ZpUV28rLB7/C4LDBGsLKuwMsCNXKd11/0WUygOVx5+fO2Yx yhE8SzRIaCXd7cTPdiMrat/Kxu2KpyFmkKPP0dfjzralT/GYwLB3R4QChQth18TZ7T iwvzHuHfoFxpg== X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nautica.notk.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id 455BAC01D; Wed, 19 May 2021 05:27:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1621394823; bh=5kK5zPmDiySqTPz9AZYojzz9uGThxf9kCqsvsT/oC4M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=3Q4goiSD9JSAqfBPh7IBatqZws/+krfBNNyxmNJ3seZ5ABFJ5V6/XY/cm3cE8GcHg /8BNnv19hv81JElKsg15wrrURQD4+PjybeI3x3mGcgJdtYKklv3wFUsPk1IR+zjA0i J+9aaiUNEIdKddheKsd1hVEvqK2xB98wuKMis1bBuaiDK6vTjx5on6SU8iB3rSp9OX EM9ejHssxLu4h8zEMLCtjNRjRUVwhrbgIBlET1CGPKKhNAvqPnIvG2KFrFPgcXWqLP ECZG/BM7cg/HzzFvcEe83nB3jjJgwA+dXc6G99g+JpgtkGQ7PleyP6GZ93SsT3jKGQ UV2vR5JMZOfOQ== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id 648993a5; Wed, 19 May 2021 03:26:57 +0000 (UTC) Date: Wed, 19 May 2021 12:26:42 +0900 From: asmadeus@codewreck.org To: YueHaibing Cc: ericvh@gmail.com, lucho@ionkov.net, davem@davemloft.net, kuba@kernel.org, v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net/9p: use DEVICE_ATTR_RO macro Message-ID: References: <20210519025639.12108-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210519025639.12108-1-yuehaibing@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org YueHaibing wrote on Wed, May 19, 2021 at 10:56:39AM +0800: > Use DEVICE_ATTR_RO helper instead of plain DEVICE_ATTR, > which makes the code a bit shorter and easier to read. > > Signed-off-by: YueHaibing Sure, why not. Will queue to -next tomorrow-ish -- Dominique