From patchwork Thu Apr 16 13:29:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 47243 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B413B2121F for ; Thu, 16 Apr 2015 13:29:49 +0000 (UTC) Received: by lbdc7 with SMTP id c7sf16794848lbd.2 for ; Thu, 16 Apr 2015 06:29:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=k8Z5ciY9RfngZZo+0HnsGy2noZ9u40x+FTz3NbvA+Y4=; b=Xlhr5Gl7vCA4kJGZq56Wl0v3Jj2VIPgROlrlshvDvNdD45UEUX69pUXIjEmWQzh1yh apMzy8SEjzst2u5QvLxASQCG3E2GoebZt11VMlzGx7k+hQJN3CNDRfe6Pg3+DTgoTV2f /trm2Tg6PUnh5CNaoSRGgciuVD/dU0aetDPF7BoFphX8YH/hoQhHd7QXK4iM9Mgwd7AI daJUrUCSAXOrkByfox79QDM/3s+Ugx/YzBSiNFKbl4ApLXOs0MNEHOhfxQmv5JEY29XF 4TAQUuSTuacamWuHZKwOsyIRxeafWVsPuJYyDsvKOmb83Ov8dhzfGtuu1IjOiAOMe/7B 55Jg== X-Gm-Message-State: ALoCoQnq9wsH5Det8Sd9D4b9hPxh8Vy5LZfedWaCuYSbLxkhTO4X+qw7ip+mLGYWWfoeOj+9pgS2 X-Received: by 10.180.85.129 with SMTP id h1mr1790003wiz.6.1429190988364; Thu, 16 Apr 2015 06:29:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.37 with SMTP id ld5ls348057lac.52.gmail; Thu, 16 Apr 2015 06:29:48 -0700 (PDT) X-Received: by 10.112.160.41 with SMTP id xh9mr27974143lbb.96.1429190988121; Thu, 16 Apr 2015 06:29:48 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id n5si6441167lah.54.2015.04.16.06.29.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Apr 2015 06:29:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by laat2 with SMTP id t2so56705435laa.1 for ; Thu, 16 Apr 2015 06:29:47 -0700 (PDT) X-Received: by 10.152.28.5 with SMTP id x5mr28125233lag.112.1429190987777; Thu, 16 Apr 2015 06:29:47 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp3133237lbt; Thu, 16 Apr 2015 06:29:47 -0700 (PDT) X-Received: by 10.140.88.80 with SMTP id s74mr37346839qgd.59.1429190986641; Thu, 16 Apr 2015 06:29:46 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d65si8236076qge.52.2015.04.16.06.29.45; Thu, 16 Apr 2015 06:29:46 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id BBB2161F81; Thu, 16 Apr 2015 13:29:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id CE16F61F76; Thu, 16 Apr 2015 13:29:44 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2F00961F76; Thu, 16 Apr 2015 13:29:43 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by lists.linaro.org (Postfix) with ESMTPS id 428D261F76 for ; Thu, 16 Apr 2015 13:29:41 +0000 (UTC) Received: by qkhg7 with SMTP id g7so131939375qkh.2 for ; Thu, 16 Apr 2015 06:29:41 -0700 (PDT) X-Received: by 10.229.10.196 with SMTP id q4mr39719285qcq.25.1429190981035; Thu, 16 Apr 2015 06:29:41 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id l49sm5595552qgd.21.2015.04.16.06.29.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Apr 2015 06:29:40 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Thu, 16 Apr 2015 09:29:34 -0400 Message-Id: <1429190974-19730-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] checkpatch: allow strings split across lines X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 We have an 80 char limit that is frequently an issue for strings and we just accept that we ignore the warning. Allow split strings so that there is a valid alternative Thus the following example becomes a legal alternative to the > 80 chars warning. printf("\nThread %u (id=%d core=%d) had %u sync_failures" " in %u iterations\n", thread_num, ..... Signed-off-by: Mike Holmes --- .checkpatch.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 9076410..a063213 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -2,3 +2,4 @@ --strict --ignore=NEW_TYPEDEFS --ignore=DEPRECATED_VARIABLE +--ignore=SPLIT_STRING