Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp154148imm; Thu, 30 Aug 2018 10:33:54 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb8CuHvIciFww8HdXO3xmYEuXIB6q5zpcL4VzCsLmLCJuP/hUEaJbblb+ji/G4f23DhwMLW X-Received: by 2002:aa7:84c2:: with SMTP id x2-v6mr11524054pfn.220.1535650434274; Thu, 30 Aug 2018 10:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535650434; cv=none; d=google.com; s=arc-20160816; b=QSylC0rc3fEe3W3pH0OU3RWUi4bgPVOoeCY6lOJIimhtOhV2jSf2XW9ucF54WHgWQ4 YncmlFXl7zwpReZOuVsyr1c5OmFHun3FyDfBgOPOtoGoN+zWT+vt2mvKWxWPOl7dUrCk aO55EGhqQayXD5ctxQiW2dOQGRygqJRjSDqb0jKf1J+UM5JBPBCgoPJrmm8vTAMLUxfp QKhC4+BPkv/gF4zTsayHdsOtA9zLPGdqqHtcJdurpgPtjECtWENHMwU1zzgbd/vDZIno 2Rs8o6T23Tz9B2ae8lR3Sy/WNI0bw+3BiiGoS0xJAhNlzWTdxq5O2PPPoMrmgrrZMywt Ho6A== 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=nRD3tcypqo55z7g9IorPcB7zReB6RcBUxjJv7QVV2rw=; b=SkWbxs0DKvyQXnR6ZD7z1BSvduDNGpxlC3d0DmQwKrFIdg/EdqUi5BVh9pf9hMcBTk YgWE4cC9Y8UNXPrxV2+jwUJq+vcK1hFy/u/sTwK9JJE9GQt6Kc1LMbUc82MQJ0Ta8tLT 15kRAYhsBudAXEB3t4n+Y7PsfBCuSzC9TmX3sAP6pWHkFjVI+oX/EVqETtfAp2xYZHpB jkU8nSs+SwzmIQwDb1BpFie7uq6Tr8SaLtP+h6CNCS2welbdcIAF5LOjqbAEyTViAsEs PezBUmsZMXzzAgqjCuESlV3SEl6Krb925Q2y5vm9Pne7Mud+BpYtogc76FmPGSk/eWbT Otvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gD6FWtG1; 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 u42-v6si7402588pgn.86.2018.08.30.10.33.39; Thu, 30 Aug 2018 10:33:54 -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=gD6FWtG1; 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 S1727544AbeH3Vfl (ORCPT + 99 others); Thu, 30 Aug 2018 17:35:41 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:42085 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726732AbeH3Vfk (ORCPT ); Thu, 30 Aug 2018 17:35:40 -0400 Received: by mail-oi0-f65.google.com with SMTP id k81-v6so10742715oib.9 for ; Thu, 30 Aug 2018 10:32:28 -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=nRD3tcypqo55z7g9IorPcB7zReB6RcBUxjJv7QVV2rw=; b=gD6FWtG14YBdUy2Y7fJAiR1949ul+0wl8zaOrH0TtFqzTWK9TI0rFK1TKKYV8J6aOG k7F0jcOOFLoj1y0VXOyOTSHPL0djR9Z1mlS/wSxluKOD+tmhYGW135Wq40kKyztSA9FY cRjCJjbJOP4mG/GVv4sqyZwy0/9gO1fnEgtQYXnBlU8Ty7yJ7e34r/GAPfteJ/FiQh7r LfF54a+GlEN24D70Fw5p0oDE5mv0IHxciNv7t0Iv1tFQFqLBBTT9pypEmJ9GmFdodn3g oiXoIDXpigIkFjtKr/MjQo8gtEJHur4wAuAH6il0ztoxT84cuBHeyRAJELBsgNFhYOe7 sXCA== 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=nRD3tcypqo55z7g9IorPcB7zReB6RcBUxjJv7QVV2rw=; b=gncxY6SQewCzn7rI5QEBNtp9QDMqq+TwjCxVrHq6U8Iz7pygCL29lKwCn4W6kG9iKX gHjD1iMMmcuxBmoFwhAswYI8mYvpB5KojvVBBX25orLx8pRQFfDk4b8/3yHpnCbZh46t FejKw/TuTMLv1zyweW3X9fPIw+WCEjXq09w86T+BSteZlUEJx0tfz1/I1CM+toDO7YLj Rfz9I6ins6jMBQeNcHPVG6UeL82miHog2O5QrIaLeHKLz+qBbQyFYFZoXiC048YZWPBu +zlxZn+JH5uERBFOx1eof/tYdUJahdXIvmguaqqDjpVg9ts1tUcqy/c9/JaS+LPZT+q8 cPTA== X-Gm-Message-State: APzg51BKRFgG931gNvkFp9Puj+l/Ouop+qm3Hw0qTUNWPpbyKb1P2vW2 rgUKcoTKhXyRfMx61cT5hZ+qoFK+dtwsjp9Q1Nu3nwxb X-Received: by 2002:aca:edd8:: with SMTP id l207-v6mr3684363oih.65.1535650348090; Thu, 30 Aug 2018 10:32:28 -0700 (PDT) MIME-Version: 1.0 From: Ray Clinton Date: Thu, 30 Aug 2018 13:32:24 -0400 Message-ID: Subject: [PATCH 4/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 Using checkpatch.pl I was able to find a multiline dereference which goes again the coding style for the kernel. I'm still working on my email client so the indentation looks bad here (in gmail) but the arguments for comedi_check_trigger_arg_min should go just under the opening ( Signed-off-by: Ray Clinton --- drivers/staging/comedi/drivers/rtd520.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/rtd520.c b/drivers/staging/comedi/drivers/rtd520.c index bb400e0..b53bf5d 100644 --- a/drivers/staging/comedi/drivers/rtd520.c +++ b/drivers/staging/comedi/drivers/rtd520.c @@ -815,9 +815,9 @@ static int rtd_ai_cmdtest(struct comedi_device *dev, if (cmd->scan_begin_src == TRIG_TIMER) { arg = cmd->convert_arg * cmd->scan_end_arg; - err |= comedi_check_trigger_arg_min(&cmd-> - scan_begin_arg, - arg); + err |= comedi_check_trigger_arg_min( + &cmd->scan_begin_arg, + arg); } } -- 2.7.4