Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5131661ybe; Tue, 17 Sep 2019 03:11:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk5b5jbsoUHtWS9qqSlCZ+c0MHuH4Zwy8n2qdc4/FfmIQixQfXQkuzqf4lgF/oQEJsy+cu X-Received: by 2002:a50:9f42:: with SMTP id b60mr3844091edf.192.1568715082951; Tue, 17 Sep 2019 03:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568715082; cv=none; d=google.com; s=arc-20160816; b=bToYpjGLwp0vm/5e4f57C6fOhG4iIQUYSgxZS+iavsDdR1Coy0ak+vEgXT3KMtb42o ZN+kmtNEGhmW45FZpR3GytqRQDdKhs6r5JFWCCrjN1HGkj9ZmF3WX5IN+IwNjNslPufW 9EPwFpp3fj337RtJXy1+YOY15PKKUGkLHxFBCe0vg938xfolVPwrkz10qCmdU8USFmXe mPTmuzLbJPWpWwxRBjyuVFneLYeC8wX9aewWI7z2Nv+ZRq3InOzkA7Zf6k+D3byCyuVI 5+UqZwfedrH8z0kAGBJ9twwFMAFBkvuHd+g0gBVMA3bIHxQInRzEfjMBrhYxRPPbMPTM RY9A== 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; bh=mW0WJhSEV7kdKT3MMcAlsLQUHO+cFxyDnWgat/xOD1I=; b=BdgIANIyHLOgFeTjodJLHnss3J5X/ySOZxtScDmc3TFIPMFdoSht8AXmLVRDMOLOZN bMjRBV6iX/fiABA/O7Kog7x10vcsmo++0SCMCXHFJaP/5cSIs+qHC5dOY3AqwSrO+s/g ziPqteT/qhGBdQX8+tmWXo+UqUM/cS76OHuRvhxRg1Sx8Tz2929cdvjN3IrMT/1EG+QR fiGE9gtDzrqus+AvXh3kg2gN/TZmYM7i6K+VzC2lZhK9A4VjRJrvQSdr5G48Cap8jl6l FD11DUGAQPxTFJR3JKDH/zZJho7d9OpQusRUx0GKDuBarpOK6CiPMFURNFYn390oncEx rrwQ== 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 u4si907019edp.447.2019.09.17.03.10.58; Tue, 17 Sep 2019 03:11:22 -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 S1728535AbfIQJj0 (ORCPT + 99 others); Tue, 17 Sep 2019 05:39:26 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:41107 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727002AbfIQJjZ (ORCPT ); Tue, 17 Sep 2019 05:39:25 -0400 Received: from [5.158.153.52] (helo=linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1iA9x9-0000M8-FJ; Tue, 17 Sep 2019 11:39:19 +0200 Date: Tue, 17 Sep 2019 11:39:19 +0200 From: Kurt Kanzenbach To: Rasmus Villemoes Cc: Thomas Gleixner , Rob Herring , Shawn Guo , Jason Cooper , Marc Zyngier , Andy Tang , Alexander Stein , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/2] irqchip: add support for Layerscape external interrupt lines Message-ID: <20190917093918.GA8901@linutronix.de> References: <20180125150230.7234-1-rasmus.villemoes@prevas.dk> <20180223210901.23480-1-rasmus.villemoes@prevas.dk> <20180223210901.23480-2-rasmus.villemoes@prevas.dk> <4684c3ce-b56a-334d-f556-6e8524d8126c@prevas.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <4684c3ce-b56a-334d-f556-6e8524d8126c@prevas.dk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Fri, May 04, 2018 at 09:44:25AM +0200, Rasmus Villemoes wrote: > >> +static int > >> +ls_extirq_set_type(struct irq_data *data, unsigned int type) > >> +{ > >> + irq_hw_number_t hwirq = data->hwirq; > >> + struct extirq_chip_data *chip_data = data->chip_data; > >> + u32 value, mask; > > > > Please order local variables in reverse fir tree fashion whenever > > possible. That's way simpler to read: > > > > struct extirq_chip_data *chip_data = data->chip_data; > > irq_hw_number_t hwirq = data->hwirq; > > u32 value, mask; > > Fixed, thanks. Did you send a sixth version of this patch set? It seems like the code hasn't been merged, yet. I also need support for the external interrupt lines on a different Layerscape. Thanks, Kurt --AhhlLboLdkugWU4S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEooWgvezyxHPhdEojeSpbgcuY8KYFAl2AqcYACgkQeSpbgcuY 8KbC2hAAoCZDi2xaYd2gH9b02qjCYtAn1mJu+ibwMc+1BYoHks2kUX/F3iB/ev/Z X2dsFpF5fQaE1vBnKpSn8P8qCv+eQzfwWqJlt/RIqE2hFBK+1NChQk/oRIycC6Pj xyi38aHLrisB9W7LM+rXsBdlxb0Dzz4L+5TJaGS92gXoNwVpJlwPiBe/kirtWCKc cISaUjbjcY0fBVZwQ62QBiIWnXoXENFomtwzxzhesPkCNurbU67NfDEEF1mh56Oy x0IawGVtnOxMYEewZa/ybGAAtICC2n/58CyOFi6pDB65QTjxwYypzO3nwV8Wfaps XdhBM+mN7PAhBB4TVzEgiqUFJU/Lqh+9Cc6c/rZHynlxYiSCXwHOex4CIWd1UYcG JCJFO6KFTWviPzU3eai9DROwpuIgy12Eo+C3X6II8I/jQxWkj54TTNR/LQ0ghcYl 06cOQlm86BAfqrY+6iTC3kSZ6EWCEys/kRplajDPeNHDaKuGoREFyNcmpa70hCfz KNzOTqOfJd3lsrOIx8kbXOZ01h/4+BRcHKEhIME/LRz8o7UBAnavxy29BTEPKHXz qyoAoIljxwUwTsk74mLvUZzoXNEQ95NpC7Z/bq+WAEgh8vdgMDKHsUn42Sa4hMnq czD9MAPGcsP5TzpVoWmSZY4ZrG3FiPeqJvbpEzrU67Ltdeq+9t4= =rHJv -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--