Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp153907imm; Thu, 30 Aug 2018 10:33:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYF5KHSkOaNXD4alrhQaurESKYaqArv0nsBtjvmIg13TPR75zX5GSBYa7g9O+rhi7UCvwF9 X-Received: by 2002:a17:902:7b87:: with SMTP id w7-v6mr11090341pll.142.1535650414198; Thu, 30 Aug 2018 10:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535650414; cv=none; d=google.com; s=arc-20160816; b=a8F8ohmXFSnuNBcE0Vxrgf4pT0pSkPG/6B+HJg11oAvmoIwiPBoMn69jEepFfW0/Yz UoPWMIRoye/1Ju/HIJQIQHlx7XLEpoLKXgHTzTcZfWfcv9tpY34Ht7nAUXmHv7XEfqlH T7P+Yc83JFNPuipCMNNlC+8ld7qqhp7VoYL5DA/EyN7eErFHWfMxmAL6SfGmm2YjA+Xr Tsyep+dlraSCY+WxDDrkM6+XVctVLBtXacY5ZnogTo5ao3+1Ie7tyaFZnhyd58pJglJw 5r/uxrK2ZkVlxJahuXYE86UA16t6b5bF2KWYfU19JZKeDAhP4t4ypYpAhXGlJ7T2wDjr a7gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=rUF7qrTCd8u8YDsm2r7+oPMJL5I/sUwYgTeSWmQawb4=; b=ykF1tmi3hJrC0igVT89Ponz1ZgDEAaORNpL/a8Zo0C3kYGxKgi6qsmkPdrAhb6HNkZ VnusJ0YRzvE0OeYhmSizWMGjeTaN6VEc7idG1p3zwmq7AXqVqxbuBu896FKU2d6dekGN 7Bk8uoXoIuo/w1IZng+ZqGtwHE1l7aXANm7kVWgT++YGTVGRagpRGaHzdKn+gbtLgBj+ cn7ZBZSIySuvS+uqSlhzYzT13jf3H911++Ni1YXhk+GEkTsMSy1wNWJbRcgfy1wmBRY9 WNL3a66Kw77C8M9JsA4ueSdmAqgcdHIZ4z3eWbQgraMvc2BGfimkW4eMffqvKOgJvS1j Noow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Yl/bSKU/"; 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 l134-v6si7062553pga.196.2018.08.30.10.33.18; Thu, 30 Aug 2018 10:33:34 -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="Yl/bSKU/"; 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 S1727251AbeH3VfZ (ORCPT + 99 others); Thu, 30 Aug 2018 17:35:25 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33148 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726878AbeH3VfZ (ORCPT ); Thu, 30 Aug 2018 17:35:25 -0400 Received: by mail-oi0-f65.google.com with SMTP id 8-v6so16908479oip.0 for ; Thu, 30 Aug 2018 10:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=rUF7qrTCd8u8YDsm2r7+oPMJL5I/sUwYgTeSWmQawb4=; b=Yl/bSKU/Jv3Yek4sCF1/gwyJHzPW8cEA+CDhK7cE6SHrAKVDr0RZZoTijHCV429/jg MrbctNLyok1Y15jS8ei/Xcb/ilT+0X4FEos5ML2PWiR2XoGRK9SjPByEjTzaLu8UWo2c PhkdSwdSUkZ2tRBCdPeanuLuz6zFiW81rp1N0WuZnOcU+GiH+1MIkBLsaQGi0UPqkdR5 dOXQuna858PAe/bE8PjCoe/73LtYgXZ72cYJZ2/4Dx3HO70elDztGl7FgdnfFahdLQhH HZ8wlEacqZuVFaD88JHjHN1YIUO95yUds1xpNiG+k541ZdqNIupmD+4hu+VoGfKVvtTO gMxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rUF7qrTCd8u8YDsm2r7+oPMJL5I/sUwYgTeSWmQawb4=; b=LMvFRwqduYHTzE0pREyaF4fr896TsCvkmosG9vbaZPkE48MP5UDLyE268sro8wHrCf sc30cap1Xu/DG9lTqlPkMn21aivYBgsVpoFTNwcchjTrQT+W/OOJUYmYEB0fPNjegUr5 49/ff910+jE3LLGx/hv0u8+4iSqoL3huDBw+ELU23DWvv8FcxvF3WW1y3Ga/ypLCHtzi cGadWw7f/qiD+1D9Ue1+5WlNT53qJ0n2B80oBFk1EEsKr5Vq4tietDMpithWbrWY2wou rG/HUwz8OmerOPcAMnX8hRmAN/fc6Ioirzea5x+quQ4+qEyxcpxRYgqN789VJvwphr6j Ns4A== X-Gm-Message-State: APzg51BKLJfoRQAU2BPLcxh1xcUJnb4FwgUL8oGl0x+ITL554swqBlUK 9PCe8TPwY2NdMais31SILD2RcbDxStOKrUyiAujHzw== X-Received: by 2002:aca:d8d4:: with SMTP id p203-v6mr3674761oig.107.1535650332925; Thu, 30 Aug 2018 10:32:12 -0700 (PDT) MIME-Version: 1.0 From: Ray Clinton Date: Thu, 30 Aug 2018 13:32:09 -0400 Message-ID: Subject: [PATCH 0/4] staging: comedi: Correct multiline dereference as per TODO To: Greg Kroah-Hartman Cc: abbotti@mev.co.uk, hsweeten@visionengravers.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I've been working on the correcting the checkpatch.pl failures found in staging/drivers/staging/comedi of 4.18.0 and have a few patches to submit for review. The files that I changed are: drivers/dt3000.c drivers/ni_labpc_common.c drivers/ni_mio_common.c drivers/dt3000.c While there were a few warnings/checks checkpatch.pl brings up the only one that the Internet told me was ok to work on were dereferences that happened over multiple lines. For each of the files above that was the issue and it was always due to the author trying to stay within the 80 character line width limitation. I did my best to remove the warning while keeping the code readable. **PLEASE**: any feedback on what I could do better in the patches, in the emails, anything, would be much appreciated. Thanks so much! Ray --- drivers/staging/comedi/drivers/dt3000.c | 6 +++--- drivers/staging/comedi/drivers/ni_labpc_common.c | 8 ++++---- drivers/staging/comedi/drivers/ni_mio_common.c | 6 +++--- drivers/staging/comedi/drivers/rtd520.c | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-)