Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1529277img; Tue, 19 Mar 2019 09:31:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqy98Pgam9amzEbRXEbIC37SFZWkgiWTwM5jLgavJZJstcTYgktOrX+jhUuKMPJKR65J4cos X-Received: by 2002:a17:902:e01:: with SMTP id 1mr3437369plw.128.1553013107915; Tue, 19 Mar 2019 09:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553013107; cv=none; d=google.com; s=arc-20160816; b=KX+3D6m3L/O0LRJs9mxp3d0/88GjToHC5OH1u0BqK9E8iohD3X2la41MHUm3VEoaJt AuLcxONrHtPeux204YywK7oY/l/4DXtrNe26xJ/Lacrs+5vh2bKhy2fdD3fzR7zcvPsq 4mRigUCSdvLjecgxM0L7ECbNzFwrvkJdXhmiqmPi2TAvreeoNbrlzlJvmIAa5ixwV5Mu 986NZAaE4PzdFnYPQvh6n4g0QgcD/R9XDj6U98agixPCCBVZHNK6bCslIWP0xmW5mO4p CgFUNXLzDgvh+EdhF3CQ6K6pmjHks4RX4JWGquK1SyJT6wJCJaCVePSw+xwgXxXKKCwU +t1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=8nnejzbaMmTvdcrG4k+TdjLblgZ1H17843Qm9AZxlM4=; b=T/whjP4O0pt7oUu7pdhuYwMtVdfKHTrvyfDy5Kgdyf04sgNiKFV06sxgjDcvU8rmbC GoSul6tO06SZJDy1DBbtAWUXaynooifjH/7AklUADETRuDqu/kpbTNyK/fs+szgFWtef DVIv3VdcMJOzC9E7rLpDshLHKKiEYsSxeyWE4vCPRlmVVeNwTjEUAn3EzXE6+d5S/+ge QcU6okdpVvIIayno05tzvoQGEQ1vqBsjPxn8dhK4uGfAq43XWGfhzoiHYGFtD8Eex7oU DKx5mkn0k9Vfc3l9RKKuQwuoJKtMoS7kpRiwbW+l3elZpHOE7aNU8aXZtf0uSWVbT6sK y9HA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si11660171pgn.358.2019.03.19.09.31.31; Tue, 19 Mar 2019 09:31:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727420AbfCSQan (ORCPT + 99 others); Tue, 19 Mar 2019 12:30:43 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:42732 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbfCSQan (ORCPT ); Tue, 19 Mar 2019 12:30:43 -0400 Received: by mail-pg1-f193.google.com with SMTP id p6so1383776pgh.9 for ; Tue, 19 Mar 2019 09:30:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=8nnejzbaMmTvdcrG4k+TdjLblgZ1H17843Qm9AZxlM4=; b=GpIy94XIYwSyb+DvpxlQXb/6J0jAFT+99v2MbOQ3pLvbG6t0CyrNw/U+Q11J7Q/OdW S6Ih+fzA+oknnqI9/jcRb1c8gfKCJWqGi++FjW8vuSH3x1fMrKOWw87pixcFpwpGUwOz zn1/sAVQrN7RHOXInENCn+osOFndzabUDmDfRXLa3eeL2KzCggXLkkCMNzhAQmelBlvj /0nxKhuAtqzlb3XoZdzY7Yz2b8iUkdAD3dm0R1Qd0uib9b20Jh6fWeoJ0TFzPl9kdc95 i0RBbCkI0AGE8+o+cIyw7AY8On0zsdFgI0lhwkczKdbxL+45Pta6LOipvtkE4PI/Ewel B93Q== X-Gm-Message-State: APjAAAWbHvo1YSOFwwq71CNcV43rZxucXfclFJ4wl1TBJDQj4juzCi+h 1JtCRrXtUwdiW2PEnnFtwbM= X-Received: by 2002:aa7:864a:: with SMTP id a10mr3003709pfo.181.1553013042456; Tue, 19 Mar 2019 09:30:42 -0700 (PDT) Received: from ?IPv6:2620:15c:2cd:203:5cdc:422c:7b28:ebb5? ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id u4sm10185113pgp.59.2019.03.19.09.30.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 09:30:41 -0700 (PDT) Message-ID: <1553013040.152266.49.camel@acm.org> Subject: Re: [PATCH v2 01/19] locking/lockdep: Change all print_*() return type to void From: Bart Van Assche To: Joe Perches , Yuyang Du , peterz@infradead.org, will.deacon@arm.com, mingo@kernel.org Cc: ming.lei@redhat.com, linux-kernel@vger.kernel.org Date: Tue, 19 Mar 2019 09:30:40 -0700 In-Reply-To: <494746a793619dd9b43fb152de811a6e7de77cce.camel@perches.com> References: <20190318085733.3143-1-duyuyang@gmail.com> <20190318085733.3143-2-duyuyang@gmail.com> <494746a793619dd9b43fb152de811a6e7de77cce.camel@perches.com> Content-Type: text/plain; charset="UTF-7" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-03-18 at 02:45 -0700, Joe Perches wrote: +AD4 +AD4 -static void +AD4 +AD4 -print+AF8-circular+AF8-lock+AF8-scenario(struct held+AF8-lock +ACo-src, +AD4 +AD4 - struct held+AF8-lock +ACo-tgt, +AD4 +AD4 - struct lock+AF8-list +ACo-prt) +AD4 +AD4 +-static void print+AF8-circular+AF8-lock+AF8-scenario(struct held+AF8-lock +ACo-src, +AD4 +AD4 +- struct held+AF8-lock +ACo-tgt, +AD4 +AD4 +- struct lock+AF8-list +ACo-prt) +AD4 +AD4 trivia: +AD4 +AD4 This style change seems superfluous as many +AD4 other existing functions use the previous style. I share Joe's opinion. Bart.