Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp992744imu; Fri, 16 Nov 2018 13:48:09 -0800 (PST) X-Google-Smtp-Source: AJdET5dc9S8KuEUMowD7iEfxmqIK97PZ8YcaLQRM2/QzCiaW5UB8LMLvGKE6OTCL9LjR/yUJR5w8 X-Received: by 2002:a17:902:d90c:: with SMTP id c12mr12818977plz.52.1542404889859; Fri, 16 Nov 2018 13:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542404889; cv=none; d=google.com; s=arc-20160816; b=PXRubMKZo1z2TUf4kCFzT3ZXbMOUdS1ZzmdQJpCCN8w+fwQprzwspi3xe+3gc+kJqy pnrTW2tTELrlDriIDdHCwaBaWpu95QpPyyDvg3Zm97cGHMkyZXO26ZyAI5/XPTONXYZT 7vvJpiEJ5VpklFSXgeD3RRdiFUDoF4UajnaIyKEpyneWacgls3yAmjKgWNatcqimaRPS 5MU99zI57zCZUAn1bx0jrJ+74Q12IgCZ4+iWS4PLcUr7N8m043D/Q1l4o7ypxGJ9OTYJ U4vAX8+/PY6x4YhHFJgL8tHXPx+PXZrBgE1x1cs5hJ/64Fz35SHihEQZdLuQoEJSqcns Y/DA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=ddGZStsGxQ8KYqQYwqM29cWKwMOOt0E0fkCsxWg9tvk=; b=tSEDKEiubBOdJs0FZ26RC+tP9mXTsId6tazUmOkwajEfK/y9pDGoQgrowthll+3K02 7+W6hHGHV4LVPQjaWS5X7UYmmEVpu4UlQK0LvHsEgjVqHyjqkbcvdfO97S9i8CT3c6A1 V0wsWWwKOPnDUbewo2wclrfKoEEdTt/4RsGANf9ScogeAG4dWrY6JUUo8G5UbDKAi5c2 uLstAjXlFVgWSlg9jbWeo0RjCNofLzE9GXxeojtiu3O4RFB4M0Mngt5mqu4XbBUf/WOs sUlJ+daZzYgVFPMgTthHEpbpTOVQHhHgT5MNlljdm3pDdihznp6GU2vC60S9vOAP+phO QDDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UsTjnaSM; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si18099939plt.101.2018.11.16.13.47.54; Fri, 16 Nov 2018 13:48:09 -0800 (PST) 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=@linaro.org header.s=google header.b=UsTjnaSM; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbeKQIBX (ORCPT + 99 others); Sat, 17 Nov 2018 03:01:23 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41958 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbeKQIBX (ORCPT ); Sat, 17 Nov 2018 03:01:23 -0500 Received: by mail-lj1-f193.google.com with SMTP id z80-v6so21583331ljb.8 for ; Fri, 16 Nov 2018 13:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ddGZStsGxQ8KYqQYwqM29cWKwMOOt0E0fkCsxWg9tvk=; b=UsTjnaSMsCgCzc73G3wifawoYwWkELLsb/UsZhfsedQ+u0dcbUn3xSfkE6Dkul7kGw cmrW/ED2Gei+bzsQWKt9h4RY+rloyQ0uWquvT6chJT3j75u2LRDNprRG/QMmZR8JksDZ 3btV9q2wYt+M+v+g0fMhI6K/rIYY550laVXOY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ddGZStsGxQ8KYqQYwqM29cWKwMOOt0E0fkCsxWg9tvk=; b=n2yhperCyDYSWzaQiKOdZg7S8TOFyhk2sVZ8AHB3yvu2yU30c6C+o7SvtHYhYswCt7 asYRhuDB5xVU4/2KaL/wgUIqXt4J99vvFsZPZMpkUgGBVsef4XjCn5hbBNvY17krUkvc bamaFE4KDPkFzkiSqQxeSZ6s9RRW/W5ioAhIiM9q2TPdE0zOpqFRE0INFMUtkMhxeudS 7oixY4nkTv0LAONsDG55MyPmHQNhVdC6legYTu3ZBASM1q7b/CZt3XfpoJZ2oKYrildP iBEwf/QM7W/4755JuG4QD98rbMShFWM8tGPOJ3NinYVptyMvJw7LcYLehmvpsLoLXmeq gkfw== X-Gm-Message-State: AGRZ1gLqrZD2uuuPUlxfwNRSwGdWkBzvBlIz4P9ep1IebqFs6R+VPYQP SszZxVpiu8S1SJzTziAlK9eaENiNi81AIZVidcdd/w== X-Received: by 2002:a2e:29d7:: with SMTP id p84-v6mr6891542ljp.12.1542404835305; Fri, 16 Nov 2018 13:47:15 -0800 (PST) MIME-Version: 1.0 References: <20181112141028.10213-1-johan@kernel.org> In-Reply-To: <20181112141028.10213-1-johan@kernel.org> From: Linus Walleij Date: Fri, 16 Nov 2018 22:47:02 +0100 Message-ID: Subject: Re: [PATCH] gpio: drop broken to_gpio_irq_chip() helper To: Johan Hovold Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Thierry Reding , Grygorii Strashko 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 On Mon, Nov 12, 2018 at 3:11 PM Johan Hovold wrote: > Drop the broken to_gpio_irq_chip() container_of() helper, which would > break the build for anyone who tries to use it. > > Specifically, struct gpio_irq_chip only holds a pointer to a struct > irq_chip so using container_of() on an irq-chip pointer makes no sense. > > Fixes: da80ff81a8f5 ("gpio: Move irqchip into struct gpio_irq_chip") > Cc: Thierry Reding > Cc: Grygorii Strashko > Signed-off-by: Johan Hovold Patch applied, thanks! Yours, Linus Walleij