Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3434733pxb; Mon, 4 Apr 2022 16:55:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBgsu9P2LImjyyzTP5EM/t4miUuQyxYa4LbSobEHhI422gKs36OU+i5dYV3E2sClaiLrEr X-Received: by 2002:a17:902:e888:b0:150:baa:bc1a with SMTP id w8-20020a170902e88800b001500baabc1amr620569plg.110.1649116507992; Mon, 04 Apr 2022 16:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649116507; cv=none; d=google.com; s=arc-20160816; b=IDMGVfWR7QnqXOfAtN8+HEDiYiyx3cji9DNxmnyaDuWvyi3e0KCm3CD4Wu6hPmBICx /EvYntqhPdcWAtNqp6RknVdM2Z0gck3mwkaTf5RjCT4Km1qd4xarHM0ZvmQwD98kMAS4 kPOb1XfkrLOWoWE1Mp8z6SnzyPFq2MCFGugrDo6WUy7TUrHOCAwVoOCNaJJ+2TfNoeLf PombzUxgNN+a7WZbwE/YuoJ4cvu63Dp5TKVP6X/qlZDkIezljoIJeJRWGfi6VuVo0iz4 tVO3TDDArYyqVcirbXBZge8oaSDELWkOQJj8zmFnxK1wP4cinkH862n6aNMGCFhnKC8t YFCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=mPiUTo9lCTl5ISvpZbNriTdQZu3g/7UZohSIiQkqB4w=; b=xG+ceYUIxy2Blc1dv9zy31MrIbNHsMyuxs85EYT6VwGpKZ+PAspDZi6Ncf5kno1nL7 KvLGJh6vSOAE3h3xnT2b+719SPbyWe1xkFRq4Eez1NFXjJx2StWkr4C283loGJUr5kO1 wCQsq9c078UK/SyNklMyL7Z6644P9yBsPWc3pMLTkqWkCBq+RpgFM89qKh+P4lNuOBzl 3XNKWTUZlORuqbe1pB7gsiLpZqlzS6Bb2sLOu1YOkV8Q+My6e6a5wRv39Cqrcb6aVnM4 FPI3ePLCZRUAlIjCwKmDCt4x50K5yN1Ln1A34jGi3eLeJH++joxEJs1DWhn2zmwagY7n 1LlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=JJWwItHp; dkim=neutral (no key) header.i=@suse.cz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f31-20020a63101f000000b003816043ee23si11749280pgl.24.2022.04.04.16.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 16:55:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-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=@suse.cz header.s=susede2_rsa header.b=JJWwItHp; dkim=neutral (no key) header.i=@suse.cz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C3BCD5FF28; Mon, 4 Apr 2022 16:37:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377549AbiDDOcI (ORCPT + 99 others); Mon, 4 Apr 2022 10:32:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377369AbiDDOby (ORCPT ); Mon, 4 Apr 2022 10:31:54 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F7952183A for ; Mon, 4 Apr 2022 07:29:57 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 0A85E210F4; Mon, 4 Apr 2022 14:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1649082596; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mPiUTo9lCTl5ISvpZbNriTdQZu3g/7UZohSIiQkqB4w=; b=JJWwItHpGFehO3NiUm4aSQcuB6Wl3QUlNcluP55rhZQXFkstNAXpbcqI6StbzvtTGn7Nau WfCgWqiXiVGtz2ZaROlrrUxCQfO9t1jqPsQqjhgPKruFkSS/uikn9YqX+bqmi5S7wF4T1W +QWvZCcsSSwhNVFfxbHFncxNY3kbf3Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1649082596; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mPiUTo9lCTl5ISvpZbNriTdQZu3g/7UZohSIiQkqB4w=; b=oOYm9G9BJqvc6pJCwjHLdI4QIZF1IdISKW1AWGc2FuqsoxKySBlHWn4457AzMbwqUXtpWW cbLqaeJTuEMxdcDg== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id EB600A3B89; Mon, 4 Apr 2022 14:29:55 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 4708DDA80E; Mon, 4 Apr 2022 16:25:55 +0200 (CEST) Date: Mon, 4 Apr 2022 16:25:54 +0200 From: David Sterba To: Dan Carpenter Cc: kbuild@lists.01.org, Stefan Roesch , lkp@intel.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, David Sterba Subject: Re: [kdave-btrfs-devel:for-next-20220401 96/102] fs/btrfs/sysfs.c:830 btrfs_force_chunk_alloc_store() warn: passing zero to 'PTR_ERR' Message-ID: <20220404142554.GO15609@suse.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Dan Carpenter , kbuild@lists.01.org, Stefan Roesch , lkp@intel.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, David Sterba References: <202204030841.qWK5rMDU-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202204030841.qWK5rMDU-lkp@intel.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@vger.kernel.org On Mon, Apr 04, 2022 at 04:40:17PM +0300, Dan Carpenter wrote: > tree: https://github.com/kdave/btrfs-devel.git for-next-20220401 > head: 0c593f04d2f520a720c5c618ba9fe0355d08bba8 > commit: 6e115adef2b6a9b9a7cc25414e1b8f4414e02044 [96/102] btrfs: add force_chunk_alloc sysfs entry to force allocation > config: nios2-randconfig-m031-20220403 (https://download.01.org/0day-ci/archive/20220403/202204030841.qWK5rMDU-lkp@intel.com/config) > compiler: nios2-linux-gcc (GCC) 11.2.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > Reported-by: Dan Carpenter > > New smatch warnings: > fs/btrfs/sysfs.c:830 btrfs_force_chunk_alloc_store() warn: passing zero to 'PTR_ERR' Thanks for the report, I've found more problems in the patches so there will be another update, also fixing this problem.