Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4371033pxb; Tue, 2 Mar 2021 13:27:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4Im5UkkSPgj3zpO7A+uNK2YTWEDH4vbK0g/2pRmP8EpHU8vduCnebD1XurdkPTr5BEtxP X-Received: by 2002:aa7:dc4e:: with SMTP id g14mr3676068edu.114.1614720435864; Tue, 02 Mar 2021 13:27:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614720435; cv=none; d=google.com; s=arc-20160816; b=pHubmBGxZHjimZRfObOhdM6jJjY987yH8lX9MWb5N5v+fTio12bOmL87KsVCA0EzqQ 7rn9JhNRnitdDi53u0iL5p5uv3U+Q5NCiISRi1kpWO4N4nC8q556ZAoNIIZf4uBnZ1zA 804DPCtarCxggHERm0Xft1WkzPr7iiceQdEpl2rW7R0Ori1IIsKoqOO0jpoNDBRMz+mV 3vTsQ9myqGUg3TeyWdxTfK7BiInAAoAKPfN6VtXUQNOMgsNgFIYWo2IXxALJ8fLrNN2i /LuKax4Is65kebV3bPYjSIG9UvH2Wztr/Z4SDTpKC8WPYDLJR2ZMw58z7qcDGjG+Nn5f B96g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=vRTB35Hy3X+I0kDOBUlqcrgTLbJGIKnoI4B9Ycr3gY4=; b=otI2Cp8m/iHluIctTd5AG1CM0zAnk5yR24QAmzgOKpvftrbaJXKmDgeOLAnt5OkTdp weCeDOu0cqI66QX0t9wsefypo9sjgs5imVixPsD10wKddUVlhaaJ16kv5HCB3cs4wjbR ZsCffwVxlyRxQ6rRUEjOGmIGrvktsVXJGQMrt2uwPWq1VQC5kYvslzKXFpIzReXF6QL+ nKBkFoxEDT3/qswG9IfEiYCHj1mKoZGFyVEnlE+poHywcZy4oErS74MY5RBqZt0WVRbg VINJB8BTB1iFTVFDIiMUCHO38UiniM1g2j4ZwXVVIzM31d6u1BKY2eUsutTh9o1sn4eB z1gw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si12898696ejf.359.2021.03.02.13.26.52; Tue, 02 Mar 2021 13:27:15 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378979AbhCBJc6 (ORCPT + 99 others); Tue, 2 Mar 2021 04:32:58 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:13833 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1837891AbhCBJJ1 (ORCPT ); Tue, 2 Mar 2021 04:09:27 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DqW3y4QwFz7s3j; Tue, 2 Mar 2021 16:47:58 +0800 (CST) Received: from [10.136.110.154] (10.136.110.154) by smtp.huawei.com (10.3.19.201) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 2 Mar 2021 16:49:36 +0800 Subject: Re: [PATCH] f2fs: fix compile warning To: CC: , , References: <20210302084458.15077-1-yuchao0@huawei.com> From: Chao Yu Message-ID: Date: Tue, 2 Mar 2021 16:49:36 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20210302084458.15077-1-yuchao0@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.136.110.154] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/3/2 16:44, Chao Yu wrote: > node.c:2750:13: note: in expansion of macro ‘min’ > nrpages = min(last_offset - i, BIO_MAX_PAGES); Oh, after I rebase to last dev branch, compile warning is gone as we changed to use bio_max_segs() rather than min(). Please ignore this patch. Thanks,