Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1084067pxb; Wed, 6 Apr 2022 08:19:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIE+IyX7nlGxrCunAL76dfbRAAW9C/DCSX+IsHwiTDT5QDmmp+724QhZiPIpTYGOGxyqTb X-Received: by 2002:a05:6a00:1f08:b0:4fa:8a47:cf35 with SMTP id be8-20020a056a001f0800b004fa8a47cf35mr9340259pfb.22.1649258397337; Wed, 06 Apr 2022 08:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649258397; cv=none; d=google.com; s=arc-20160816; b=uWEy/fg09aGklmdlDmxzO7jvUTU8DatVyH1xzLZd6yV/6UjPrLY5ATNhRHqpg/9V8Y rm5Tx3MLFlzxdj9qZ6ynw/9MXNGMOIpHQq4h78kyAiwIEgZmZZ2bqor3B9E5Oi2eaZ32 bGFO36l+xwIUoM+uXwIOStKhfYsaBFbu6XQh7IK3DJk1kMiyJqdrgZphn7QrhwPniYjJ VhRMG9OmxfxdjschAvmgnn8eMnrL1LP02K6WEAMfEJIMknsP15abakZTP2/JMUlzv9le bOgZZGUcIomyMN4ax7Z1X+vYdVoM78PHFDTQU1aMX7WOaG4D46umhKoxEpF6FXK8jsR0 LV1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=r24DvQS14FBN6wjigzW3uhBiqysvRcGcUmQbFZoD8jc=; b=LmHf1d1bovCE7MUEXgoI7D0eKnT4NSm6ZdD9jcPFggWlej83tew3cBJ8mV0kON4pNZ Xdxp+1Ie1d3QeWt7B+PP887eMKNHoWvL6Ytgfo1RtPzYYE6Z3yDifHVnQpKDStyXlq2c FiWJqOGREYIIPUqqDAk5qByDzCqqCXCG0iII1LBHKg3DJQg/DCHP96VXsQ9Xer4iN8ue WAOTU9lBmZqI2PV8oC4fBcGL2EmvF3JgxXDNtGCMsiEW96US3atXxNFU8lyjOCDUlgBj ePKh5EZr4ZzlsYqUUE+VSpebYN4tz7zYEVQhR1sf2KM+trdtMRW8Ay4KLzpbu3ubzv+G jwVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gOaTY3Ik; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j7-20020a170903024700b00153bb806739si16703182plh.478.2022.04.06.08.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 08:19:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gOaTY3Ik; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20A0651E850; Wed, 6 Apr 2022 06:18:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233189AbiDFNUI (ORCPT + 69 others); Wed, 6 Apr 2022 09:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232299AbiDFNSf (ORCPT ); Wed, 6 Apr 2022 09:18:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB8B24EB1B7; Wed, 6 Apr 2022 02:58:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2E16FB82202; Wed, 6 Apr 2022 09:58:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 319CCC385A1; Wed, 6 Apr 2022 09:58:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649239118; bh=jbHPSkJfWymWcChZS9h8IsoHjPzPs3UEKYf8YDD44QU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gOaTY3IkTaYcWOddj01CvigmJljeODuL+j74KW3JyGr76gT2Zs/gOc8as7j0TaIAG l+1wS29mcylE2ykOj0teWzTHERgF0bMuevRnPiN/emFdeg6Litz+hPIRZtFL/BxL9W NvXvBr+jhZde2bGrTw7iYtWL1BMeI7Tb7z7Qx4dcHKpuekVoPTuJ2QHZjo0ve6WI4z 9klE7u08b8XBzXGk9BA5EejiDbJKDOAUCokQoXbJc+vqyk+2IktWNZFtlrOq6x4xSA GZ/XZp5tQvI03ztK/icrhxTazSrVccVLwlbczSbqGB7Qz36lpEy8KlUcFncthba6WL CZw2+JferEjKw== From: Kalle Valo To: Meng Tang Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] ipw2x00: use DEVICE_ATTR_*() macro References: <20220406015444.14408-1-tangmeng@uniontech.com> Date: Wed, 06 Apr 2022 12:58:31 +0300 In-Reply-To: <20220406015444.14408-1-tangmeng@uniontech.com> (Meng Tang's message of "Wed, 6 Apr 2022 09:54:44 +0800") Message-ID: <87r16apm7s.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Meng Tang writes: > Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR, > which makes the code a bit shorter and easier to read. > > Signed-off-by: Meng Tang > --- > drivers/net/wireless/intel/ipw2x00/ipw2100.c | 64 +++++----- > drivers/net/wireless/intel/ipw2x00/ipw2200.c | 119 +++++++++---------- > 2 files changed, 90 insertions(+), 93 deletions(-) You have submitted a similar (or identical?) patch earlier: https://patchwork.kernel.org/project/linux-wireless/patch/20220401053138.17749-1-tangmeng@uniontech.com/ If you submit a new patch mark it as v2 and include a changelog. Please read our documentation: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#patch_version_missing https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#changelog_missing -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches