Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3790448imm; Mon, 25 Jun 2018 04:47:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI9++jOCqDaTiEXewDGHX80mRnE0jhzpcZubfhcn8e8W9J8EgIutCrq71Ux9b6UID6sIDw9 X-Received: by 2002:a17:902:b60b:: with SMTP id b11-v6mr12369158pls.330.1529927243764; Mon, 25 Jun 2018 04:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529927243; cv=none; d=google.com; s=arc-20160816; b=sKyEajxPLZfTBItAOlkphUJ8w4cxK98CRoLbV0sPZKs3lYjGV5RUob0w25D8CGyx6z K10VOzOmQuBl8lSDqTxdGjLOtEkX3dSC42wJggEevvD04zXwi5Q8OyZMGae9aTbP1Eok iMQ/Ba3+tfqcyFUCEy2rdrDwOISvW1FeJIu22oyKdMofTnMD2QJSMtRKJiZT6uHW4dTK qMwF8NoRsisZH7Qjb5+sX5OWkJQ5powg3dfkqwy20bIjtChdkr0407AhUCJHJZ4uXKHk hXE473wdxYkXCzgY/VGsC/copgI+aB896mlDcAYgT1SiP9hvkHpxzqic5jj9YuxUoIkw 6M9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=qc3Gp9oL2RiyJDM+VNIAk4TEjH0dafPAfdRATGYJIeg=; b=zYpZ1g4gocTvHetryBCwtJ37xyFElKE4McK9Cv0YacB2j7HPR0nhQ+ueF7qhhf/sAX +y94eOu0rhAQst4wk07vQNdlJpSfqurKD0RkAe7tJcVpglN2yePQeZTGsT/AE39rUW6i MTcRLENEUzgfNIkPEZbxkwjyCZyaO5jK5fAIac3KNoLlbqFSs5Hu/HrdxchqS0aCENqh DfNmBRjpOwrt+hrsyJb1FqF7sFFjbdE4uyqBCzfqpx1XBieKAoTHoCZrx/fASNrDBlEM Uagbr5cKITPrg8KJDnICna9BoEraoRaSq092+zpH/r5CClQIXgV3afTirIPt/BUd4WMK Fi7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XWt9Xi9k; 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 v197-v6si4595542pgb.546.2018.06.25.04.47.08; Mon, 25 Jun 2018 04:47:23 -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=XWt9Xi9k; 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 S932486AbeFYLqV (ORCPT + 99 others); Mon, 25 Jun 2018 07:46:21 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:32842 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932305AbeFYLqT (ORCPT ); Mon, 25 Jun 2018 07:46:19 -0400 Received: by mail-wr0-f194.google.com with SMTP id k16-v6so13366719wro.0 for ; Mon, 25 Jun 2018 04:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qc3Gp9oL2RiyJDM+VNIAk4TEjH0dafPAfdRATGYJIeg=; b=XWt9Xi9k0EUUb3toTv45E0PdKb7eaJB4FlCPnraTXoOne179eDGSEkqB3XEJtSjZoS aCKIdVyvtWi3kqv3MVJFvoXRet5j0ydL5p2s4p97EmX7YuUjPJ25UwgQ2Bs0Exrgazj+ g4S7iX7bZt0HQ9Z4vWPOYyEpsgYfD69gWwWirQZDjgewiNQyifmOWx5yJPd0LhLNJT0u 7g23auJ7wW7CrTmYsieatebvB8SsSH1GEHzYA+jUCJ846VPsA0z5AGAUXVVbPcsTbQgY eorbj1+NAPneCEH3Z+oSpSGl8Q09AHVPgu1qDZW5YRWXSYDfmeNl0aN85JNVMqDvJ9Ad g4+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qc3Gp9oL2RiyJDM+VNIAk4TEjH0dafPAfdRATGYJIeg=; b=lHox0IQWVK5gj18xLNvsRYEMUCFc2iKvPXlwtikbet9u6JXxsxTm9t+L3AouQXFQCC J2eDIdQVdLfgNWdatDRdaP1/OwzMrAA4sU2wu38i+0WaWRO5HnuXsbb9XfKwBrXNe6+v qlRv7XjMT1fH0/BgBFYkacLbTMXuY0OhzEC6TCnF0TqmzofrVVlsG2XTwUOn4NgoyD/B 7qoeqKMKFOivXH1Zee4Z88nK+uiDvNghU3CrAEnwxf3q3GC2bp0UX4LNSppXP00NlhA+ bMmHkxEl+M0yJLr2JCrri3B6wJgY1HZFCF/0fpZou+KD7r8Lpho48tJEG0ei1Ul3YvWT VpgA== X-Gm-Message-State: APt69E0bbRt21qTAk/ypDN0QHfr51jLCSI/eP1uQI6XFKsb69jyqJxW5 amx1scWhALteV3THh9ngEQ0= X-Received: by 2002:adf:e4cd:: with SMTP id v13-v6mr9708565wrm.238.1529927178808; Mon, 25 Jun 2018 04:46:18 -0700 (PDT) Received: from xux707-tw ([109.76.172.189]) by smtp.gmail.com with ESMTPSA id v2-v6sm15992034wrm.84.2018.06.25.04.46.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 04:46:17 -0700 (PDT) Date: Mon, 25 Jun 2018 12:46:18 +0100 From: John Whitmore To: Joe Perches Cc: John Whitmore , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, gregkh@linuxfoundation.org Subject: Re: [PATCH v3 7/8] staging: rtl8192u: Correct if statement - Coding Style Message-ID: <20180625114617.l4uc7c6k3gxd5tks@xux707-tw> References: <20180624153454.27356-1-johnfwhitmore@gmail.com> <20180624153454.27356-8-johnfwhitmore@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 24, 2018 at 08:59:22AM -0700, Joe Perches wrote: > Rather than doing individual patches for each line > with a whitespace issue, I think it'd be better to > do a single driver wide patch. > > Perhaps use a tool like: > > $ git ls-files drivers/staging/rtl8192u | > xargs ./scripts/checkpatch.pl -f --fix-inplace --types=spacing > > where: > > $ git diff -w drivers/staging/rtl8192u/ > > should not show a single difference. > > Then compile and commit that as a single patch with > something like "use a more typical spacing style" > as the commit message. > Thank you for that command. Hadn't found the "--types=spacing" option. I'd fixed all the spacing issues in that file in a previous patch set. That space issue was in a commented out section of code, which is why I missed it previously. I think that file has all space issues cleared so there's only the single fix in this patch.