Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp391301ybl; Wed, 11 Dec 2019 01:15:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzdJh4gZIpLhfLrJI+vydGycGKsNq5IHa2xFwn1JkVBlnJaHeSBR1fa8Fffs5WugLPEhpWz X-Received: by 2002:aca:c645:: with SMTP id w66mr1885673oif.43.1576055725720; Wed, 11 Dec 2019 01:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576055725; cv=none; d=google.com; s=arc-20160816; b=BMHPOV4gzJfezjG58uulCO+gnK/ctaRLcXJ+1j5B3dIX8/LEIIcZ6s+KzFeeg57Ms1 BwRRIX63tiEazZz7ePqHl7moeIwKXEkXtqvZY8MyDzW99+4/o4Nw6YfKLqf9xudLv0EK MWzsIcj1WsCOGpEdzXgVIx576AC4Ez2yu3WzNmZpxBPIlaf6mZUKqGhpLVjUwOdfl33b mJYk3876HoIEaHgOyLBT2QbBVSZaFBB0cp7Itp92faRxRpAPFrYUFpItHQY5pT7N0B+Q kipRyJ0mLgp+NhrdkLV4UbQdb8GF8ZCWjcNXI6Rsi+R6b9mnz/70mUdzocTUrG0j4YP4 Cy/g== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=r0gVQXuC6a8DJTUTEo5suxWb6NqvG3m1Y5eO4L17BxU=; b=Ygl4hUIlLau3tNaJIEgZZCmHWL3Vf9y0Kj7pI0zJ5FsposM8loBB5fPJZyKEs/d8nk 1iCav8TISPantkoCaDOirlMmLelINAmbeT3AQU7ck/nHj0EzK1+OyeIQk/e+jqbzT6XE si+Kjtym81pfYJ6nDGZvvVAGRHhVzOijxrZFjA83HkpgY/WYm0uSCJb5z+DSWWzr68Hs OpmNt/i0geuK2nFVylayf/86QLpR4O3kmoeV1orzEEF2et+PwCBtYSnZARj9lOMPm5xQ 3nRvljo6UEwCNLxcc6wxzyaOPcyN8DSQ4vdKwaZJxsk34NgnqiOMdlXRI4/HpZsaqQob uD/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bNjp2CSw; 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 p7si663089ota.299.2019.12.11.01.15.13; Wed, 11 Dec 2019 01:15:25 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=bNjp2CSw; 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 S1728448AbfLKJOa (ORCPT + 99 others); Wed, 11 Dec 2019 04:14:30 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:42683 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728381AbfLKJOa (ORCPT ); Wed, 11 Dec 2019 04:14:30 -0500 Received: by mail-qv1-f67.google.com with SMTP id q19so5420302qvy.9 for ; Wed, 11 Dec 2019 01:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r0gVQXuC6a8DJTUTEo5suxWb6NqvG3m1Y5eO4L17BxU=; b=bNjp2CSwAwJBRkHlE21fA2+oQHaa1seGpALK5gMpFZBRUweh616cc6A6NjuV3+jP7t g+avl1kCd9byKb6OLRWoCARmcnjUMCDWZEVNMYHwcwq2N14q+0Zs5gKmbn2v8QLkXlTu qYT1j3fhiE+HvHPvq+5C8dY3pDcfH8rPaHt6qHrXYFCzpU3tQuLtDKmRQXWEU0wL1bu3 XD9Fpr5nzGis98WDLXJ2dEtgi9E9jwJki0nduViVaSEEfNJCDk7B2WzJW4nUmbeKRtSE EwrMoY4b/3ywG1wFw8EbFjXcoFkI0JmL0qp722LB/JC0izmuz7ikSSrBNnztdHuLMnYW 93cQ== 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:content-transfer-encoding; bh=r0gVQXuC6a8DJTUTEo5suxWb6NqvG3m1Y5eO4L17BxU=; b=mZeZOJV3Es6m/BQIUUeGf9IARdpSQeT8bXnIzhzNTC+FN19WHutrOiiPrDaZnI2Xph ncK4T8KVJdnWu1sadGvVls2cfPeE+i8hePIgIopsg3d0R/Gx8bibol4IUiHCecLrbj9o 7uDzntUJ2xK3NCn+3FlAaqOZG+J4NoXMIOnI88v8qVQRFSaPT+coyOGOPcssIwL3qQns U8tdgq1QTf1si5d6Y8oCNioxkGRjQKMpAr3G89a6AC/a8VY6DO0wW3Gp5fzOS5kgIWvJ 5UHYnDLXVcRF7sVo/jHjwBZmmk49OkhSvktSo77MHaCclIKLkKlgvBWwm0vjO/Rgu1ww GQBA== X-Gm-Message-State: APjAAAUWeHRvcaYBoJwHSpfJogMqcJmci1QocY57mnW7GSuv/AgGy9eX zGvkK8Dl7VwLrR2T/9Y9D3WKlYD0rnO8/rCpf4YIdg== X-Received: by 2002:a0c:f990:: with SMTP id t16mr1951160qvn.134.1576055669090; Wed, 11 Dec 2019 01:14:29 -0800 (PST) MIME-Version: 1.0 References: <20191210195414.705239-1-arnd@arndb.de> <01669f6c5d0e40c7a410da2dcce6c9e825e4a1d4.camel@alliedtelesis.co.nz> In-Reply-To: <01669f6c5d0e40c7a410da2dcce6c9e825e4a1d4.camel@alliedtelesis.co.nz> From: Bartosz Golaszewski Date: Wed, 11 Dec 2019 10:14:18 +0100 Message-ID: Subject: Re: [PATCH] gpio: xgs-iproc: remove __exit annotation for iproc_gpio_remove To: Chris Packham Cc: "arnd@arndb.de" , "linus.walleij@linaro.org" , "scott.branden@broadcom.com" , "linux-kernel@vger.kernel.org" , "bcm-kernel-feedback-list@broadcom.com" , "yoshihiro.shimoda.uh@renesas.com" , "yuehaibing@huawei.com" , "linux-gpio@vger.kernel.org" , "broonie@kernel.org" , "rjui@broadcom.com" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 10 gru 2019 o 21:24 Chris Packham napisa=C5=82(a): > > On Tue, 2019-12-10 at 20:54 +0100, Arnd Bergmann wrote: > > When built into the kernel, the driver causes a link problem: > > > > `iproc_gpio_remove' referenced in section `.data' of drivers/gpio/gpio-= xgs-iproc.o: defined in discarded section `.exit.text' of drivers/gpio/gpio= -xgs-iproc.o > > > > Remove the incorrect annotation. > > > > Fixes: 6a41b6c5fc20 ("gpio: Add xgs-iproc driver") > > Signed-off-by: Arnd Bergmann > > Reviewed-by: Chris Packham > > What's the current best practice w.r.t.__init and __exit? I seem to > have messed this up on multiple fronts. > Applied for fixes. Bartosz