Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3210438imu; Sat, 24 Nov 2018 00:10:37 -0800 (PST) X-Google-Smtp-Source: AJdET5eYzIFzV5QnriKm3P/hwBp4kW5Is1cVpImvg97ShyUELRlRrIuqcRAh1UMzTDzXEvPMPGBa X-Received: by 2002:a62:647:: with SMTP id 68-v6mr20064055pfg.42.1543047037166; Sat, 24 Nov 2018 00:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543047037; cv=none; d=google.com; s=arc-20160816; b=1Hch5aBtOB/npHP7A7wkt6qRjMLTPbV9dYKp1G6NSdZVfMQlhvgd1ULdAP72QATZQa rNeFZNjusBUxr/Bw4l32cHpij8dIVJsk40CefC5fRmrIliXrhY9fHgVp8XPW+FbTxYIy DD8uCBzNnVb3WPFz+HLvgIGo2/gmMFvVPt+svCSCc5F49g6gCkStwm/sM2T5N2juUonW OUl9MMKXRIoHZmTiHPnWkZ/3jFLaBMbGde5JXC0InVHPd4VE+9pRe1ZRA9QOQge1pGM6 krCDl802ZypOu5zOoN37jfkOy4rPKJFIzEWij3k9qPv+p1z5yFYAdp9c+/tnxWVxSL01 1JNg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=HIfelMlnLBH4z2Mnp8iWztGi0Pyq+RYmCWqVegN7yz8=; b=mOp3jh0EAma6uRnTdp0YuUUiOh8QcRs68kqyp72sZVC0rG4/vFb36nKevf7FxkF7ey Ow/P+/LCFQ+JbCY5NhGIACR/hHjY6AeWB5Cfl8EZq/RMXCAntgvnA2Uixt+AGxm+5V1W e2tdERW3XlkomUyaNRfAKQdId16t8wjcmHFHi7Bd3393nzgEdq8FxUyQ0lD0SjoMwGzS bb8teitZvtUkvIxbJPaboynXD1EQjJzThB5bL9uNk+E7Gxov0nKRHRh3JWpNT10DBHLo Iz2h4R37x6LJqFbZVrOEsgWOEP13HHaMVWO1N60BkC0HN4Sv3E74ngvOAraAIrYbgmd0 XNyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b="OO/CxISE"; 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 h19si37812030plr.67.2018.11.24.00.10.22; Sat, 24 Nov 2018 00:10:37 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b="OO/CxISE"; 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 S2408524AbeKWTHM (ORCPT + 99 others); Fri, 23 Nov 2018 14:07:12 -0500 Received: from mail-lj1-f173.google.com ([209.85.208.173]:42421 "EHLO mail-lj1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408500AbeKWTHL (ORCPT ); Fri, 23 Nov 2018 14:07:11 -0500 Received: by mail-lj1-f173.google.com with SMTP id l15-v6so9944398lja.9 for ; Fri, 23 Nov 2018 00:23:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HIfelMlnLBH4z2Mnp8iWztGi0Pyq+RYmCWqVegN7yz8=; b=OO/CxISEAHwYLusZ2lqc/VFIueoLBZbA2HaFbm4YzdF3wuB33DYzS408OoiKVCwv4v cBwilKqIyIEV8u8O6mUatX6I5ssUy39WBx1whNpoZJB0LyXOpCikuNCINEFuAoz8xG90 3k8rRIFC2aS21rYYA3c1fk5KGlZcggkfDl3+B4/8bY9CMAXAzkqzeu6MuU1MenJ6D5XG H37CT16aGTUA/Uo4Brj6ZH3nFMNIdvIwOHut/xZ+3Xdvv5uNnR9GcyEj9siLgWhOG2Qe AwxnT1iHa0Y2RHd4g+0hFdkLZ82MND3VYa/WFxwtdmYgjLBGtDuTdKr5fd4k9tEDNKAM /Uog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HIfelMlnLBH4z2Mnp8iWztGi0Pyq+RYmCWqVegN7yz8=; b=USE9R9cyZIGg3iU953zlOcoSZVYIvU8ucmSb06UlnjXdpaMhkXBGqQZgMZ/3px+pGg SiTl8MpKust3oA+wYZHwNY4rTIASfrsx3EpyiJVvLR9evMv4zO/9d3PXN+suFhektrSi dpDLYTSCptkKcFi34c44nl0SXOzsL5GKiFYqScfDUXniMXZY3G4WpAzNPEmjKpjWNP0y lD/3vutspDOX6Mjo+CXo91/26Pgf4isLLw4K80Soxi7qY/+aUcYLwRAmnS3mS4Q3vt0O UEO9F2cIxHAIOHka1Pshr/ijNvaD9EyenGJOQBc6RE/7XS6651Baf+QcQ7GskaVaT2BW k+yw== X-Gm-Message-State: AA+aEWaAUyHBQh5yTeij2fRxU3W7PV6wHCBGowVn9/V9lApQnzgFyWK0 unZXToZ/i0pb9WLFkZS9FNqRrCXjKQ4= X-Received: by 2002:a2e:8007:: with SMTP id j7-v6mr5605266ljg.22.1542961437653; Fri, 23 Nov 2018 00:23:57 -0800 (PST) Received: from [192.168.0.36] (95-166-82-66-cable.dk.customer.tdc.net. [95.166.82.66]) by smtp.googlemail.com with ESMTPSA id k63sm6706233lfe.13.2018.11.23.00.23.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 00:23:57 -0800 (PST) Subject: Re: lightnvm: pblk: avoid ref warning on cache creation To: javier@cnexlabs.com Cc: javier@javigon.com, hans.holmberg@cnexlabs.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <1542894410-14047-1-git-send-email-javier@cnexlabs.com> <2ef4bc58-98cf-fdfc-195d-d6f88e85f4a6@lightnvm.io> <2D1F9096-EFF8-43C2-8403-9897B3D36409@cnexlabs.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: Date: Fri, 23 Nov 2018 09:23:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2D1F9096-EFF8-43C2-8403-9897B3D36409@cnexlabs.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/23/2018 09:16 AM, Javier Gonzalez wrote: > > >> On 23 Nov 2018, at 09.14, Matias Bjørling wrote: >> >>> On 11/22/2018 02:46 PM, Javier González wrote: >>> Matias, >>> Can you pick this up for 4.20? Even though it is not an error per se, it >>> does trigger an ugly false positive warning when CONFIG_REFCOUNT_FULL is >>> set. >>> Thanks, >>> Javier >>> Javier González (1): >>> lightnvm: pblk: avoid ref warning on cache creation >>> drivers/lightnvm/pblk-init.c | 14 +++++--------- >>> 1 file changed, 5 insertions(+), 9 deletions(-) >> >> It is too late to get it for 4.20. I'll pull it in for 4.21. > > Well, if it is a fix it’s not too late AFAIK. It also applies to a patch picked up in this series. We should have catches this before. > > But I guess it’s your call. There is a likelihood that Linus would catch it, with the result of fire & fury. I don't feel like using one of my cat life's for this one. > >> >> We can put on a Fixes: 1864de94ec9d6 "lightnvm: pblk: stop recreating global caches" if you want Greg and friends to pick picked it up for stable kernels? > > I didn’t add it as it is not a bug in itself. But it is good to add it. Can you do it. > I'll do it. > Javier. >