Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1180909ybj; Thu, 7 May 2020 17:06:56 -0700 (PDT) X-Google-Smtp-Source: APiQypKHSfDm5IeU7S1LOQWyWJYh2rv9tAI1eTGbxMriwKi9Li6YWbbEpyPukXrJCpLzjzejPc3I X-Received: by 2002:a17:906:4714:: with SMTP id y20mr15026088ejq.5.1588896416637; Thu, 07 May 2020 17:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588896416; cv=none; d=google.com; s=arc-20160816; b=rNzD67ZWR1M0draWiSOmpDQHUJBV5eyE+G1dMN7J0k5JHoWEKdkUeQe/weOj3g5A5H ohue3KftkDbCbvaCrQNFfEe++87AYgPA5zX/Yvc+eGQyQwJo4cU42TkaHVgT8IHkVjK6 yypcNWrQyfvl0hB4hhMv8vkv54YQXjwiEwSWcYQ8gFAEkbTQfmjIQhuW0fertX4HDIHf UtEHSgNp9l2oAhlBcaLu9fTtt7fDB1Lwvkxj5NL2PUfzKZ9ube8BIbQrip99ryNQe5+7 1lnlZzzoxyWs1Z3u7tAlMrQxZUIGPNN88Ie5ILeIruI8Xv349seLLAj6oAjr4srylf7C RUnw== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wKYs0zxkcODOfw4R1WVQFwDAtoWIkfK7BpSp5PaX/PM=; b=ZkUl3XHWLsNpebibAJysCkMuHF1EWf5iyXzJhAAdO1Mxu1CTRaG/bIuq/S0d9l8nv0 x8LM2hhioLQjYDCQcyS91UM1WjVXy6f2iNZ98pOSiYdKCNg/4GIQ06DHldsKURBqGFUH guDJmHARD1oomH9CDvqG+93dnxPRrg16CsKRguB5pB06KaUtzACbuzlYeBrFtj48mQWf K9WmFM+jXA1ljscPSf6DNtfNWnr5T3O++BLG2cuJBxxRMTJsagQZsI11s4nUgwMQkeIy 8FFxPY0fYms82xhB7o52+UZDt+duejcfDp3YBUKPdMccOstQ7jd9DUKKhrdV7KI6Zv+d lYNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rjnpwkGm; 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 s15si4042788edr.462.2020.05.07.17.06.33; Thu, 07 May 2020 17:06:56 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=rjnpwkGm; 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 S1726811AbgEHAEy (ORCPT + 99 others); Thu, 7 May 2020 20:04:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:56640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbgEHAEx (ORCPT ); Thu, 7 May 2020 20:04:53 -0400 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B940E2082E; Fri, 8 May 2020 00:04:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588896292; bh=Ge3nz8WZOJFqzpXNiv8nhoHil6SjiIANRuschyeYJ1I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rjnpwkGmtJKw/4mwFZHZOgAKysf0TfYIOxoqLbOdRr0lNDtGxLdWBH+W5B+mjNczy hexKcPq4DCCPhnsl/bonhuZdi7xChtTfSjJuuGJRZxTYWiAimDTLfu+a6alnuxYhvw +B9mhA6pqBO41LUKlJtfY88v6rq+xxISTZDx+NBc= Date: Thu, 7 May 2020 17:04:48 -0700 From: Andrew Morton To: Walter Wu Cc: Bart Van Assche , Matthias Brugger , Thomas Gleixner , Peter Zijlstra , Ingo Molnar , Josh Poimboeuf , , , , , wsd_upstream Subject: Re: [PATCH v2] stacktrace: cleanup inconsistent variable type Message-Id: <20200507170448.661b1ef6cf8d870bb19e8cc6@linux-foundation.org> In-Reply-To: <1588731504.7745.3.camel@mtksdccf07> References: <20200421013511.5960-1-walter-zh.wu@mediatek.com> <1588731504.7745.3.camel@mtksdccf07> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 May 2020 10:18:24 +0800 Walter Wu wrote: > On Wed, 2020-04-22 at 18:21 -0700, Bart Van Assche wrote: > > On 4/20/20 6:35 PM, Walter Wu wrote: > > > Modify the variable type of 'skip' member of struct stack_trace. > > > In theory, the 'skip' variable type should be unsigned int. > > > There are two reasons: > > > - The 'skip' only has two situation, 1)Positive value, 2)Zero > > > - The 'skip' of struct stack_trace has inconsistent type with struct > > > stack_trace_data, it makes a bit confusion in the relationship between > > > struct stack_trace and stack_trace_data. > > > > Reviewed-by: Bart Van Assche > > Hi Andrew, > > Would you know why not to be picked up this patch yet? > Do I miss somethings? I'd decided to pass on this because it's so minor. We inappropriately use signed types in soooo many places :(