Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3166957ioo; Sun, 29 May 2022 15:49:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGZ2VNzcIq+YW6xS2VYJvpLiWz9Hd5lDzMDJywqGC6E/m+w5JC1uwRfpar9z6TzNTK6gC6 X-Received: by 2002:a05:6402:1010:b0:42b:5afd:a506 with SMTP id c16-20020a056402101000b0042b5afda506mr39676530edu.276.1653864573326; Sun, 29 May 2022 15:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653864573; cv=none; d=google.com; s=arc-20160816; b=n/W0an/LmqwTiPGimhoCgprZopBz6h9MiZQyAQ59EerRwQifi2XZa2CAErEeJLdCvM lMuvU+R+382QCk5uxChYBIuSfNyMIa7R/wx86JEMEz9r2XYGrOJP7wD98NOTsae7zzr1 o4bTiO2ZwXj0qwI4fXsyU+AHmzADIHBGBNKggpv8cM9Iv9mXKP0e2tQKFP9YzDeBMcZw xYgh0B6Sr+c4zhXYvJ5x4wy0oBihindB2PwhkSWOQQCKW4FOD3SVSdOfuRm+gxWNqlxq UZJzjJ9VjKtU0vfBT7gZWz7PHx3RGSGzkugXON9bzJB9EcT7RADXYlTF2ga+GMVFF4d7 +HOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5FtteHWZGo9XZ7scso44Da3d3+hVMECLmg5cp5RvsAY=; b=Ck086bWoliQzloJ1oo5ceYba3/ydH65MDjypNuKDhzBs1vPkbyIkvL8PTG/fV70IaI 10fFDdQ3E8QXgJOWvI+LFUVUVNvJvEASZF7bFW9RhwXbICIyvJ+Z8SxvPr5Tj8vYSmZ5 +iNNlHJYr+T+wuKu07ADBjS+DJs6EBsoZ4QxUXhz+zBtV4ePo02dk14HTQztvn5M1GaR L9qqoS7G0R58ewCV+UN43NNrp4xrIYlhUB0RWc55I2KWQ6I3lyVoFa40PdveMX0E13t4 mxyCfFIArDF6VN//cyoK0lrErUzgYmzXedlKVIP2UkK4rpuPT+YPwLxZfkx9tC4EoEw2 fhtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Jv3Dqjnl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o1-20020a056402038100b0042b014da181si5952887edv.54.2022.05.29.15.49.08; Sun, 29 May 2022 15:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Jv3Dqjnl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229991AbiE2LPE (ORCPT + 99 others); Sun, 29 May 2022 07:15:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbiE2LPA (ORCPT ); Sun, 29 May 2022 07:15:00 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A01BE986C3; Sun, 29 May 2022 04:14:59 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id p22so12840254lfo.10; Sun, 29 May 2022 04:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5FtteHWZGo9XZ7scso44Da3d3+hVMECLmg5cp5RvsAY=; b=Jv3DqjnltHSi5wiXkkj3jSTxfoxCmb9HpnfqeHUGAAnEuQPf+ixHyeNtS/qdjzdD0x eYlb6mAMZe1PShKaa7/QxrVXbNhrrupjAulXsNqyUZs6B+5RIE/X8eripqVTbgp20+1w YRg6odmSu/oZPGwzI8igNILfLyxIkMQtbFYAEgZ6aC23eeycYNCxGDCsMmj6lzllS+Ip 5CZvvI+uGBCksVkAnNyzLzcM5URli1DDmrZPsQbcnTrJSkYTXjlAV8mDkaCrbWgmu8Mf z/MMBIveREAaC0lSGskaj6Alx4RMCQF59ZPbg1YQ9URT1wJ8g2tJqZS1+OryPUjAW/7B 4RJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5FtteHWZGo9XZ7scso44Da3d3+hVMECLmg5cp5RvsAY=; b=N+csYAMTdsg27HkB0iXa6VbYhQN7OnsnyWF1krJXzBI7aPAdpfcU0MrjhMJQ9zUB5F lzCzQ9aMlvcxjBiVbqfVWypOhwmoCfIPq6rJ7+NYOPP3io0MgTaNgddHsp4Z/m1WucWY o6/xhIWm8wtgbuUUlaIiG9MtH+YbzjnjBVoFa1qWEM9Vb6P8c4bX3dvwni+sLB7XOrJF OjDRrEsZJ7ZfMlVkbLIF/egIv1wcqLLIiOy/mx0QeoAUMz2F4Lu+SYePXG4QdHS3hc9O LvWzoFhlfKT7XWRpwKal9jK6oX6m1BqIvp4XIIhaPXb3qe0wT/ipZGcPtqHsTZW/ZHI6 mbWg== X-Gm-Message-State: AOAM532Ub7JLXT7QH7nYGxfWbsqdBq3RXkxSEvl1lUOhCJ0WEmMdo+f5 NzrpMrSj7eVRY1kkRts/KBs= X-Received: by 2002:ac2:44db:0:b0:478:ae7c:ca3d with SMTP id d27-20020ac244db000000b00478ae7cca3dmr13831031lfm.571.1653822897793; Sun, 29 May 2022 04:14:57 -0700 (PDT) Received: from dell.intranet (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id n17-20020ac24911000000b0047255d211eesm1729897lfi.285.2022.05.29.04.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 04:14:57 -0700 (PDT) From: Janusz Krzysztofik To: Helge Deller , Tony Lindgren , Aaro Koskinen , Tomi Valkeinen Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Imre Deak , Trilok Soni , Janusz Krzysztofik Subject: Re: [PATCH] video: fbdev: omap: Add prototype for hwa742_update_window_async() to avoid build warning Date: Sun, 29 May 2022 13:14:56 +0200 Message-ID: <4460689.LvFx2qVVIh@dell> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Helge, On Sunday, 29 May 2022 08:47:51 CEST Helge Deller wrote: > The symbol hwa742_update_window_async() is exported, but there is no > prototype defined for it. That's why gcc complains: > > drivers-video-fbdev-omap-hwa742.c:warning:no-previous-prototype-for-hwa742_update_window_async > > Add the prototype, but I wonder if we couldn't drop exporting the symbol > instead. Since omapfb_update_window_async() is exported the same way, > are there any users outside of the tree? It looks like there are no non-local users of any of those two functions either, so we could make them static, and I'm not aware of any out of tree users, but let's ask more deeply involved people. Tony, Aaro, Tomi, can you please confirm? Thanks, Janusz > > Signed-off-by: Helge Deller > > diff --git a/drivers/video/fbdev/omap/omapfb.h b/drivers/video/fbdev/omap/omapfb.h > index d930152c289c..0c753ccbc1c0 100644 > --- a/drivers/video/fbdev/omap/omapfb.h > +++ b/drivers/video/fbdev/omap/omapfb.h > @@ -229,5 +229,9 @@ extern int omapfb_update_window_async(struct fb_info *fbi, > struct omapfb_update_window *win, > void (*callback)(void *), > void *callback_data); > +extern int hwa742_update_window_async(struct fb_info *fbi, > + struct omapfb_update_window *win, > + void (*callback)(void *), > + void *callback_data); > > #endif /* __OMAPFB_H */ >