Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp538783ybh; Sun, 12 Jul 2020 14:54:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3Irsyr0TPmmLAUleGhdtOIdpknevxQzRWolQD4NqNcCUBS7KKGHhwRez3vaA0yf3CR6A7 X-Received: by 2002:a05:6402:1250:: with SMTP id l16mr90062005edw.362.1594590840640; Sun, 12 Jul 2020 14:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594590840; cv=none; d=google.com; s=arc-20160816; b=mJBoKLp3IL9p4gtmkveGSpWCKzk58EHICQriZIFkDFgnIZFv5yF4+Z37NLLaAV0vi9 FIe5ZSfdfbdMoSBg5QeFIPgi8xUy10Y/H/H7IzEo4De5YxR8VhSDcWjx/PKB0p492BRT ngBl3qBsU8s6pXhbPW/EXRXK0Ys0oKLtPVBFdu6yjDz0T/sE4kzbZoiOMrrAa3jN534B 5PhP9ffiP3B97NSMXfYLlOzfR4IxC957qayX4+WgX+ixojo2RusGncPp8Zdkw9XlJSkv qGKEbWHIzjNcCLPc67knM6dzjKSO/9KWXVSWwBOV1wM6+DsouL+Ret3RdNhNYlSFm1lm Eqkw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=TJtupBKcUWRNj4AuLjIJrmS82REQYnU9+4uZAN4anA4=; b=dYPHRYVXpOEVxAobxuBvRxaPLrSpwOWNtBD/JvxaWye29ErnFtISMZPyBV2OPsVNnt FzVfevaY8cP9GUFtd2/6G5ZV2M7vvA9akMokzNnutyeV254PTZQYWnn/OsYpngkJjY7e WenyZEPC62yqldVQBSsxQegbxsuIp4+tS8hYS9iBJonMlWAC0LfMBzIln0Sh+utNdfzv BMFY1X84v7ykDhutFU0Wts4KeislEjmoV3pzDEWt5Z8PaeENrFybhO/2RPQdNbNijZ1z SHla83fEuCCltdzpQ2SyI7mpih+B3q4UVlYx7nbRy82lP9rk5fzUw/Exc7Tc2UqNfZ7T bArg== 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 bi3si3094092edb.391.2020.07.12.14.53.37; Sun, 12 Jul 2020 14:54:00 -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; 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 S1729496AbgGLVtr (ORCPT + 99 others); Sun, 12 Jul 2020 17:49:47 -0400 Received: from smtprelay0237.hostedemail.com ([216.40.44.237]:48406 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729249AbgGLVtr (ORCPT ); Sun, 12 Jul 2020 17:49:47 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 4EAD8182CED28; Sun, 12 Jul 2020 21:49:46 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1434:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:6691:7576:7903:8603:10004:10400:10848:11232:11658:11914:12297:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:21433:21627:30054:30056:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: silk82_3d001b926ee3 X-Filterd-Recvd-Size: 1701 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf20.hostedemail.com (Postfix) with ESMTPA; Sun, 12 Jul 2020 21:49:45 +0000 (UTC) Message-ID: <27660a3e38af43c9e741a4dfcdec50757c32f409.camel@perches.com> Subject: Re: [PATCH] decompress_bunzip2: fix sizeof type in start_bunzip From: Joe Perches To: Tom Rix , "H. Peter Anvin" , alain@knaff.lu Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org Date: Sun, 12 Jul 2020 14:49:44 -0700 In-Reply-To: <9af191c2-0f2c-7637-433a-b557a07590ca@redhat.com> References: <20200712125952.8809-1-trix@redhat.com> <639c8ef5-2755-7172-fbb8-ce45c8637feb@zytor.com> <9af191c2-0f2c-7637-433a-b557a07590ca@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2020-07-12 at 08:12 -0700, Tom Rix wrote: > On 7/12/20 6:09 AM, H. Peter Anvin wrote: > > On 2020-07-12 05:59, trix@redhat.com wrote: > > > From: Tom Rix [] > > > So change the type in sizeof to 'unsigned int' > > You must be kidding. > > > > If you want to change it, change it to sizeof(bd->dbuf) instead, but this flag > > is at least in my opinion a total joke. For sizeof(int) != sizeof(unsigned > > int) is beyond bizarre, no matter how stupid the platform. > > Using the actual type is more correct that using a type of the same size. Sure. But this hardly matters as this same type conversion from signed to unsigned or the other way round is _everywhere_ in the kernel. And especially the cc of stable is unnecessary.