Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1972351imm; Fri, 7 Sep 2018 08:54:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYm5WaC7h+MCydISibSDXT6/oXClKwTS/gFneNUpqujY4F3fmzVJJt95hBtOsx4+Z1WiD4Y X-Received: by 2002:a63:d90b:: with SMTP id r11-v6mr8939423pgg.315.1536335677329; Fri, 07 Sep 2018 08:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536335677; cv=none; d=google.com; s=arc-20160816; b=RrBHUt7Apht2nqFSqXr2VnD1ZNcIeQAFf7R0UZn6iGFG3/0OjMB4i08l6w5ks6rleq fCPH4Sr8oUn0M/M5YSqpm3eR6iFzPruX7j5eo+QFmnwubbv+tSVuNYiGMP5SHz8Lqi0A L7As5eEOkK0xvCrjJgkv53Hzq78tsoq9mvRpSRwxmW7NQT7bsEOYiAHt3CSuOctiu5Qo KO+orgKkgUToD3pMg2Di77k19GT3xXTD+AFiS+5W9IW1bgp6hlgyaWv6i0B1+Altr7CL dR5u2I5YllG6Hy6B43iDUM1MbvHF7n1RpaTnk6nIakc1EkYsLVqTTTHWZAyqsLiiIJoJ Y4zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=LHSm/AMczcyEPF9XyFb9OY++ZgEXxl5Wk28NZhH45jk=; b=bxI3uOP0rvKX6Byv3modJCkK6CH24jTJ4JTzkPOgWXeD82tyu8MTvFQoLmXMGn9M7P 3TYgo6VeT94r8G18qwi9ukORbpwr8J5IUlubB7O4jiZL8baWMulX1Jr6SOvxQPP9/7zp C5mTnjxOz0rQkSsNdOMhrSQCXXfYyH7Fd4/jvCUCnFhBgkk6tOICNfX4+KNAYjyA0rOf JA2xL5EMaNm+LCNbtRCNIgiuHs57DW55kJjPvivmseVGOhmQG9AZredmYKHNRntJ1WKj UnN0fdTvpphDHb9xPrhxUpoW4M4YZe0hT2ViaMZ/L9KhOhmQerQHJthvgUzykV986Dee TuRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b="PI1i2g/Z"; 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 l7-v6si8891405pgm.677.2018.09.07.08.54.21; Fri, 07 Sep 2018 08:54:37 -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; dkim=pass header.i=@163.com header.s=s110527 header.b="PI1i2g/Z"; 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 S1730015AbeIGUDG (ORCPT + 99 others); Fri, 7 Sep 2018 16:03:06 -0400 Received: from m12-15.163.com ([220.181.12.15]:55425 "EHLO m12-15.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729753AbeIGUDF (ORCPT ); Fri, 7 Sep 2018 16:03:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=LHSm/AMczcyEPF9XyF b9OY++ZgEXxl5Wk28NZhH45jk=; b=PI1i2g/ZZPFGP4gd8W8QVBp6k2KyYeTuJJ Gz6Wb3g8CFLRxfKfcBJrNJCRjpJHCej10irbyBJYOi+J5p5mxsBZCWddf/XFIG/J TsP3YdsY4cRbHJigdvH7NzB8QQSMP0T691lfUq924ae/R4xquyyagfflT9gBNRbz aXldBQiTA= Received: from localhost (unknown [183.156.140.9]) by smtp11 (Coremail) with SMTP id D8CowADH599Ul5JblUi_GQ--.48014S5; Fri, 07 Sep 2018 23:20:54 +0800 (CST) From: jun qian To: Laura Abbott , Sumit Semwal , Greg Kroah-Hartman , =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , Todd Kjos , Martijn Coenen Cc: devel@driverdev.osuosl.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, Barry song <21cnbao@gmail.com>, jun qian Subject: [PATCH] android:ion: the order and count are in the wrong position Date: Fri, 7 Sep 2018 08:20:32 -0700 Message-Id: <20180907152032.45956-1-hangdianqj@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: D8CowADH599Ul5JblUi_GQ--.48014S5 X-Coremail-Antispam: 1Uf129KBjvdXoW7GFyDWr1xXF4Duw18WF1ftFb_yoWDKrbEkr 9F9rn3Jr4FqFWkXF1q9F47Wa9Fva1xZwsav34aqFZrXay7AFyxJFyDZrW3Zw4UXr43KrZx AFn5twnYy34xGjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUbTGQPUUUUU== X-Originating-IP: [183.156.140.9] X-CM-SenderInfo: pkdqwvpldq1yi6rwjhhfrp/1tbiJxa6R1XloABFLAAAs1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The value in the wrong position will cause misunderstanding, when the debug infomations display in the window. Signed-off-by: jun qian --- drivers/staging/android/ion/ion_system_heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/ion_system_heap.c b/drivers/staging/android/ion/ion_system_heap.c index 701eb9f3b0f1..54b8a7710958 100644 --- a/drivers/staging/android/ion/ion_system_heap.c +++ b/drivers/staging/android/ion/ion_system_heap.c @@ -225,10 +225,10 @@ static int ion_system_heap_debug_show(struct ion_heap *heap, struct seq_file *s, pool = sys_heap->pools[i]; seq_printf(s, "%d order %u highmem pages %lu total\n", - pool->high_count, pool->order, + pool->order, pool->high_count, (PAGE_SIZE << pool->order) * pool->high_count); seq_printf(s, "%d order %u lowmem pages %lu total\n", - pool->low_count, pool->order, + pool->order, pool->low_count, (PAGE_SIZE << pool->order) * pool->low_count); } -- 2.17.1