Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp579384ybh; Thu, 12 Mar 2020 07:23:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv33YSSWCEO9nOKykOxkuH+8it9+b+7mJavODz9BhC4o0nysIAePTVPCjF5eZ8I03Q825Ht X-Received: by 2002:a9d:2f44:: with SMTP id h62mr6359527otb.189.1584022990669; Thu, 12 Mar 2020 07:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584022990; cv=none; d=google.com; s=arc-20160816; b=rh1g7sZLV8gHzpWVbupDDcVlRqVPjLpSdtPYThhkSxaC7Ijgu5DjiM6cjmN+Jkbrw5 GWUCY8FlNK16cjOUb47q/z9llLofL2Bx1Ac1uIv3WmzgBN31ktzvXxOX7pMH2LH6jc3X fkEvZ0pkNHAFfYQO/UNhV+MxdVNT/Us3Q6taQwT1hL3fwJPoSWCdoYbcR6+QOgITMTk6 ysiZdGjMtAv6LjuJCGYOUeRObZx7atpkRb9A1kt5u6Kj8DT/S76Wp3GRJaVeaGPPWqdK HY5YamFbK/Zu90LVlrZKBaaBV9Ub5gJ0xMO5KLiU3lUfS7ngZTVtMxFpxwINaEpaQk9R wglA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=E7GG/qxk2/Ufsah3byIBSjxf9JKNhaAWtEG1t3CGtCE=; b=bfMnOGgEejzlOWz/940lCUuvaqybQk45zpNwz1pcjUWGvVmfK6enOGTzJ1VArZ0BQM ItsuVR7/Mxh8hYkmjejdeW3Vmr0F/EGsbPJK1aCrfwxoCdZAVOWr+13sdsWqK5KdF5y1 8gNC6aUSTC/AqaRw09hmH4ml3zcbBL/Hj+uJUucXJcmDJIsU8nsU8wEd6MLdbfQCclTI r//7l7FGi40dwik/svL0EnuAbX0/CPR1Vnkxan7vIdT88fXrxje7fufm4Yy6+Pbi0IM6 6qBeZPFgb5gM2G6pXyHZk3piQthN0zeRn/hZzoc550kcnXD2zITmnIJ9vjakZ47gsq/T ycAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TepIO2vT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si2939512otj.170.2020.03.12.07.22.52; Thu, 12 Mar 2020 07:23:10 -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=@gmail.com header.s=20161025 header.b=TepIO2vT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727518AbgCLOVI (ORCPT + 99 others); Thu, 12 Mar 2020 10:21:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:32817 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727340AbgCLOVI (ORCPT ); Thu, 12 Mar 2020 10:21:08 -0400 Received: by mail-wr1-f68.google.com with SMTP id a25so7738007wrd.0; Thu, 12 Mar 2020 07:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=E7GG/qxk2/Ufsah3byIBSjxf9JKNhaAWtEG1t3CGtCE=; b=TepIO2vTA1MMEkJNBeuhNJiRhMJ/lQwuoc1g4aB6YPiIWEoSMpY02d/Qx0MZzfr3UK 8MFEel+uvi8vjyvyttEhiBv/B7OxKnGLSafT4A5DYvP4xM7BAaETX4yEGfuQHjV18zwK 7xTo2NrnEwx5zERAvFRP3BR9tBRqb9dF1KxgeKCf9VyzPHpP9Y7GP1b0w+YQGEDyNcor KxXTToWva61Cy/7fXXC7GaZyy14OSUNnor7uCY2GG/Nb+KicdE19QZuRs9TFAmIf8+nk u7u8ZZi5F8J9e9mhFr3wYEnuJX6FDA8OLq4w2nt54o1n0+DDn9X2WwM66f2/cB5rEWnN 7PyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=E7GG/qxk2/Ufsah3byIBSjxf9JKNhaAWtEG1t3CGtCE=; b=TsmXSD9DdWxiQcEJx3qlSXvfGXEE5HHqw93T1/GFtVIhIzFFm1zHik9UHXGFWcOdda y6Ztm2oiqymfU+n45F768JvJhLcJGsiOKxSFVgcorhh+u0KaS1Y9mNVu47+7VQKzYYdy ZNRTGwZpmQTMFBEP8YB9dO6Kv7MpfHGdCyBfGgu644mx8xxwJRmpY4HVfNR51qSHWvRi 3ewOQz/DMvHRkkTc4KK15J6H229Nk88a3V0I8GSzZbGFFkOuVFvOkHw4iqwdy6OloQrZ yjLDJZym7zGig9JhQYTf+5hQA6nYWdTf0oHfumRpdbedzkRqlLGSCBLuQkNGiz5OgP20 WWaQ== X-Gm-Message-State: ANhLgQ3adFAbuojaMIFWbpzrK3hBBCbvSmcPdZlsvUdwMFeU2pDvSDXZ q7kORIRfeWXLdluL1pg9mt8FicDtIoHzEg== X-Received: by 2002:adf:f845:: with SMTP id d5mr10748480wrq.94.1584022865678; Thu, 12 Mar 2020 07:21:05 -0700 (PDT) Received: from [10.7.1.8] ([37.58.58.229]) by smtp.gmail.com with ESMTPSA id b5sm3901243wrw.86.2020.03.12.07.21.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Mar 2020 07:21:05 -0700 (PDT) Subject: Re: [PATCH] gpio-hammer: Avoid potential overflow in main To: Bartosz Golaszewski Cc: Linus Walleij , linux-gpio , LKML References: <20200312094008.1833929-1-gabravier@gmail.com> From: Gabriel Ravier Message-ID: <38cbabe3-151b-1fd6-9d36-f27e9c9aa414@gmail.com> Date: Thu, 12 Mar 2020 15:21:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ah, that was accidental. I was applying scripts/Lindent to my code and ended up also having it applied to part of the old code. Didn't think it would hurt, but I guess it makes sense to be this stringent on separating logical changes. Will send a (complete) corrected patch in-reply-to this message.