Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp769180rdg; Thu, 12 Oct 2023 23:44:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh6HSRsOtMUK+txCCP6rkLAfqlYv5Y7jUhleDkVXA37cVmA32ZQZvkVis2T9THYxnHhTwE X-Received: by 2002:a05:6808:92:b0:3ae:4774:c00c with SMTP id s18-20020a056808009200b003ae4774c00cmr27062901oic.53.1697179490409; Thu, 12 Oct 2023 23:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697179490; cv=none; d=google.com; s=arc-20160816; b=MHmguQYzKcHT1UVW7k1/LcTO3WeMokfQdwIvAhhrNii/bNazdQO/n7Lq0qzAvSBE89 DLJqkvcSxfu+jiQN6k1TdfBBljv6MgrAs35bcDli7C4veDxyp61Nsf5xCQ6fDm9C8ji3 mgolicGVdUatS4puPGlkxBM7lCV+MDXZZkGkuiDjZOtpEl69+xbtVFY0wDwxztFqocFL DACKnGgnrtyrMz4E+QzWQ1gc847nD43UNw6vPhRSgIMeTIKbXec3BJQR6bEG7SLfTCw9 LM4L1bxdHo+UlgdN8np5szqeDnVlQX+JHfr8kNVTq7zXPwrKSOHsjBYG29HZiRJGvIT8 fy1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cYxdrUg3pe8tdeWMHQoZDqPpLxqpVoxJx2AUWSqbQV8=; fh=wk0vqSfK2vWYcK5oR2cf5Ck2xQhX4FPTvtCytVq6oI4=; b=x1NPytYF1dDEg5ER1Xv6Pl2yLBPQJ/3UcSsunSrIJ7zjHJlC3OkUG+OPz2DfthpnCo w14lblUysbTOVRi/Uu/MqgDwXHiBiDHuSzeR0hLq1n7UcQsjgb+n+UlBYUYitRPwUO/P TBXhJ0W3ae+OGBu/yTinJR6KglPb0d6I3y38DUk2KyjgxqVUvvq1ZQfOzJc4jOOmDVgw Ka8T6KcBv/my5oiIduFdemHiT28Bf5WjHTEtXmaSAe7LVmfI3E7XQxhbnVDBZsw/olJw aGXvws/KnmAAH42q9ClEFH7vilthigh69qFjTRz9SVR30UhZHbkM388mzN8ohCsONMaE ZVEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="x/a9dtoD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e5-20020a636905000000b00565e6a5b065si3658323pgc.107.2023.10.12.23.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 23:44:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="x/a9dtoD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 391F4826624D; Thu, 12 Oct 2023 23:44:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229699AbjJMGof (ORCPT + 99 others); Fri, 13 Oct 2023 02:44:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjJMGoe (ORCPT ); Fri, 13 Oct 2023 02:44:34 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AACE6B7 for ; Thu, 12 Oct 2023 23:44:32 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5a7a7e9357eso21421107b3.0 for ; Thu, 12 Oct 2023 23:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697179472; x=1697784272; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cYxdrUg3pe8tdeWMHQoZDqPpLxqpVoxJx2AUWSqbQV8=; b=x/a9dtoDaraCsOi+dSIKk+RV69Gzdo8VneCwR4ppF4TYA0HaNVxRtfUhlvCxvPStgT WdAhY1qO0a26U5pFcqBqkAuWyoXDP3fc/dW2AVVv+6tO566Vhk4dUkjwm/VfYKLK1z6w xcon1opJPcNgpFZO2sNF44stMdguRbmGgqIYHEhiE/eSTdyBJEfhBG0UbRM2A/bV3C// QI4lyE6iEN2IOXb2UksOx1jJei44CZVHunlrFUeyDEi3uybQvzar+k4C+RAHXtPmAf0K BZyjx6ZtEQ3v5JtOZt5XtHq9D34XQ1OEiGkJaZsWrxZ/iYFyPDSuCvP1/D0C5fV0eWpj 6oSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697179472; x=1697784272; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cYxdrUg3pe8tdeWMHQoZDqPpLxqpVoxJx2AUWSqbQV8=; b=eMow6M1MQq6xkhNElsQ3m/n9+8r9MUvx4CMjbAvFrWmRpeFyOJfSq/c7xeKcqcFcUg rik23DGy/cX8P62Tx0NNERm2DnpSrvZYaqXndEA1MVTApjL2uDOFRIm3Fbk83iAp1Xy+ vc3Tr7drI0e+g2wVim83HgwzBPI99cYreoKgC4X2RhAzZhdmw82T+9qFsT/Mc77ZQhS8 GT2Xg2Gl5smUOgAxDN1A4oICRRsOrWNB4eM67KHmsCO+y46To9Zus49xPKyweXqWcYPI b/cSS3o1bs554ErSfm4h6df19cTDkjKhv3orQaSqVCV5LbhxHyfq+rd5h501O4BbioKW nePA== X-Gm-Message-State: AOJu0Yy9w6cTxR4uB1HNFuqwrGLXJih/t6fAeHcJPdD1+sXp7K77W/9m oMBHi4NPAvUt0idXPKzk1yak0hpOjRUZI4d9GUtMqQ== X-Received: by 2002:a81:4908:0:b0:5a7:c49e:3f5c with SMTP id w8-20020a814908000000b005a7c49e3f5cmr10098973ywa.21.1697179471830; Thu, 12 Oct 2023 23:44:31 -0700 (PDT) MIME-Version: 1.0 References: <20231013151417.052aa2f5@canb.auug.org.au> In-Reply-To: <20231013151417.052aa2f5@canb.auug.org.au> From: Bartosz Golaszewski Date: Fri, 13 Oct 2023 08:44:20 +0200 Message-ID: Subject: Re: linux-next: build failure after merge of the gpio-brgl tree To: Stephen Rothwell Cc: Bartosz Golaszewski , Dipen Patel , Andy Shevchenko , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 12 Oct 2023 23:44:47 -0700 (PDT) On Fri, 13 Oct 2023 at 06:14, Stephen Rothwell wrote: > > Hi all, > > After merging the gpio-brgl tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/hte/hte-tegra194.c: In function 'tegra_hte_line_xlate': > drivers/hte/hte-tegra194.c:424:48: error: implicit declaration of function 'gpio_device_get_base'; did you mean 'gpio_device_get_desc'? [-Werror=implicit-function-declaration] > 424 | line_id = desc->attr.line_id - gpio_device_get_base(gs->gdev); > | ^~~~~~~~~~~~~~~~~~~~ > | gpio_device_get_desc > drivers/hte/hte-tegra194.c: In function 'tegra_hte_match_from_linedata': > drivers/hte/hte-tegra194.c:652:33: error: implicit declaration of function 'gpiod_to_device'; did you mean 'gpio_to_desc'? [-Werror=implicit-function-declaration] > 652 | gpiod_to_device(hdesc->attr.line_data); > | ^~~~~~~~~~~~~~~ > | gpio_to_desc > drivers/hte/hte-tegra194.c:652:33: error: initialization of 'struct gpio_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] > cc1: all warnings being treated as errors > > Caused by commit > > ebee532ff34b ("hte: tegra194: don't access struct gpio_chip") > > (Exposed by commit > > 63137bee5a7a ("hte: allow building modules with COMPILE_TEST enabled") > > from the hte tree.) > > I have used the gpio-brgl tree from next-20231012 for today. > > -- > Cheers, > Stephen Rothwell Gah, we have a couple reworks going on at the same time and I messed up the order of applying the patches. And the name of gpiod_to_device() was changed to gpiod_to_gpio_device() and no longer increases the reference count of the device. Dipen, I backed out the HTE patch, I will fix it up and resend it making sure it builds correctly with my gpio/for-next branch. Bartosz