Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3158929pxx; Mon, 2 Nov 2020 01:17:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuQJNtXkYgOE34d3DIPugwyEijtdyPuLPNMrQfuv02ZZ9jvvCD9t6Xs6bQgAelEySzczty X-Received: by 2002:a17:906:ccd3:: with SMTP id ot19mr9681776ejb.44.1604308661962; Mon, 02 Nov 2020 01:17:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604308661; cv=none; d=google.com; s=arc-20160816; b=r8kdubupGkd8MaepHB6eT8JIBqT/pYaAGhhNbz4ra8FRAElVT+Xcewgqs1i3FqapTR FJW51wVkOSgLtKzVxm5TW+7gzQMjVV9FhbhZifDAmySrAyQV/ifXyum6eK1iLZUJBkXS ZwdYjtvvj+y+HqLkI+JzTLY0dDuV3T63tzlUHPe6gulHh59O+7wisVChR+ofBhGNqUWf SBs8rUSiBN+EcCMkJ3YwZO0y8KpAnO8QX1LpzBxjaKXmX99JsgcPsxfoZDx20b/JXzT2 aXPdJVQ+GiBYsLJtC5LvEsAynR12+J32LVobSk3Hu+CLA28lsIHfWpfgL1nDE5qYKwQO 7t6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=onV60W3cvQoKcXQBACo//cSj/24vx9QifOX1QLFfptE=; b=PFc2Jw6ek+gpnvTWYbyKL1SW0HbClf/Ct7AjATcoy6aYNYxe7+4sMvSAx8/x1tzsMM AiGIOzr+bOtY0k3l9m0BRmVFAZxJ+hUqi2+NJy9bsyYOxpHR2Y4t4PfBAvHi7YreGxVp NZYEAGNVVhCsayMK8xUg3PLcgl5re9QhsTFnLzie4ywXyWT95trzvbJ/JM3q9ERAYR4c MX2a+N4/hZrlFCwi9OpdwXtmheh2MLxt5rr1nwFQsgntPuYuRp7QvpFqgfRIfBTi0Un9 5fiVQhtd2639RwAlcOYG9/E+8x7m6C1nmawlpU8s92kN9HokZPOxNQbejXg4G6RRJajy SPrQ== 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 g1si11428149ejf.525.2020.11.02.01.17.18; Mon, 02 Nov 2020 01:17:41 -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 S1728226AbgKBJNx (ORCPT + 99 others); Mon, 2 Nov 2020 04:13:53 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:7571 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728081AbgKBJNx (ORCPT ); Mon, 2 Nov 2020 04:13:53 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CPnK81phMzLscn; Mon, 2 Nov 2020 17:13:48 +0800 (CST) Received: from DESKTOP-2DH7KI2.china.huawei.com (10.67.101.108) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Mon, 2 Nov 2020 17:13:40 +0800 From: Chengsong Ke To: CC: , , Subject: Re: [PATCH v2] ubifs: Fix the printing type of c->big_lpt Date: Mon, 2 Nov 2020 17:13:40 +0800 Message-ID: <20201102091340.30712-1-kechengsong@huawei.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20201031085420.1316-1-kechengsong@huawei.com> References: <20201031085420.1316-1-kechengsong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.101.108] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 31, 2020 at 9:56 AM Chengsong Ke wrote: > > Ubifs uses %d to print c->big_lpt, but c->big_lpt is a variable of > type unsigned int and should be printed with %u. > > Well, it is: > unsigned int big_lpt:1; > So, either 0 or 1. > > Does changing it to %u silence some static checker or is there some > other problem I don't see right now? :-) > > Thanks, > //Richard This is just a coding style issue, I found in the ubifs code. :-) Thanks, //Chengsong Ke