Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7528243ybh; Thu, 8 Aug 2019 18:01:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlGfLJwWf69zgh8IsNxrYxGmy7QJy1lHXo0Yikigz1AdjgAqnpjfLXWIYk36OXNj0o2U1U X-Received: by 2002:a17:902:7d8b:: with SMTP id a11mr16321391plm.306.1565312472986; Thu, 08 Aug 2019 18:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565312472; cv=none; d=google.com; s=arc-20160816; b=GxGlo+tovioNwmht37Yp6VTZRYsVJKqjYvFvv0RD4gAUlFZIKZNFUdYpooUSPky/QG VfbZ15g7ybzpdtMYYzDimnSFMsTp8iBMAaUQcy29ra5+jVud90pG+PqlIGy7EBoDseCi WSQGuIaS+6d6styvD7FTcNx7VEVn59XL1FNj2ylH5WCrZmHh2ULRR3gLXgLGZTawzKRV pPRVFjE+cs9lS7f9o1uz4wkzt9b/VXzOnkI4SOhUbOvj4j4optM/2CJhOUuOzpzmSID2 y42QqnOi5mrveBjZjWYaXqk/5NVgH85qAxBaSEqTWPT26tajycyDu5ploRMamHjdvwvw TmPg== 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=FPuyRA3f13rxo7N46Nl1Smh5ECYxOkYkxveMcyECbGQ=; b=X+ORGWmUZLlx4laSypPiog8o9AxXsd2GOxEQ246VDQYG4d4uhPoC2zWEq3tEGuAnEH VsbSlw+dYYUTb/yEvZMfNGMX3g0xjLFjw7mxXZHXTum/7ekWEJAlx5JD1z5+rcp5SKQX VGINTh6Ukc5RjPWUwOJGEOOF3jE32RISf3SqHhHUCtnK+Dg1YeRdJzF/9Hj/2SSSynlH ajgC95naNJLY2Uz5Ao5NwTlD958VbnHB9b4lci0oc3eWYYjkeTIyLsSmtzh2MnXcwFyN B8lOpfmCHkXv6qk7Oxkc22YYJecY4v50Y4cvUFbzUaGcAqqyKrt+kz9moH1deEqLQXYB 4N1A== 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 c9si56369987pfi.143.2019.08.08.18.00.56; Thu, 08 Aug 2019 18:01:12 -0700 (PDT) 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 S2405269AbfHIA7M (ORCPT + 99 others); Thu, 8 Aug 2019 20:59:12 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:53908 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbfHIA7L (ORCPT ); Thu, 8 Aug 2019 20:59:11 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (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 525971424972E; Thu, 8 Aug 2019 17:59:11 -0700 (PDT) Date: Thu, 08 Aug 2019 17:59:10 -0700 (PDT) Message-Id: <20190808.175910.1475533249085755975.davem@davemloft.net> To: hslester96@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mkiss: Use refcount_t for refcount From: David Miller In-Reply-To: <20190802164821.20189-1-hslester96@gmail.com> References: <20190802164821.20189-1-hslester96@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]); Thu, 08 Aug 2019 17:59:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuhong Yuan Date: Sat, 3 Aug 2019 00:48:21 +0800 > refcount_t is better for reference counters since its > implementation can prevent overflows. > So convert atomic_t ref counters to refcount_t. > > Signed-off-by: Chuhong Yuan > --- > Changes in v2: > - Add #include. Applied to net-next.