From nobody Sat Apr 18 19:17:38 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DE42C433EF for ; Mon, 11 Jul 2022 16:25:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231223AbiGKQZN (ORCPT ); Mon, 11 Jul 2022 12:25:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbiGKQZK (ORCPT ); Mon, 11 Jul 2022 12:25:10 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396934B0D6 for ; Mon, 11 Jul 2022 09:25:10 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id c15so30771pla.6 for ; Mon, 11 Jul 2022 09:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ukc3FdWjfLcH/LmKOFw9wVHJnBYxyOJ3TZo5iySD7CM=; b=mos/Mg0hb/2sKrl+1pyR3cc5pWrcxHNMusFW9vCuu+2DGtN5aBipvTN30Jc6drre+T /RFl5RGuERg3AZGdQXD0762fpVS5LkIrZ+Dmfr0iPstEiYmS197oZdnqO/gsd0V2LLrA dMbFtl9QauwEhNzOkDMmTLhCVI/jC7ytB3nJg= 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:mime-version :content-transfer-encoding; bh=ukc3FdWjfLcH/LmKOFw9wVHJnBYxyOJ3TZo5iySD7CM=; b=Py+qk9WuZbz1XrNu+2EgxzA6giPnHTvPfaZUf6IIZuW0cE8m4QET4e3fkdnHli6PLD llDqztOoyn+LsQITzzFmHVyyReYEEFOxMgmxiYuRRZCbolMxR+5yZNusFxl4Nr/QvjnG enicZHVFRwaB+QvWq+NLdM4ZhgcZof4bqFK7Def5ewgarRHApvgxXThzueCiIR0O7T+5 i+a+JrbTA7GDG0hQnJeHNAKpR3PNzDpL/zn7PViWzDff3K7BE2KfTw6DfqTwkQDJj9er zqzxxbwS0CKKYC95bfG/wg7FKOZeRYDvvp745bCCcR2SXpVtWWdBjM9/faW1/JgX4gwS IlhA== X-Gm-Message-State: AJIora9yGYg0bOm+o4ChsX+f44ih+Tp5paRzEW/nSvAuUpsilBKGbeaN u4dJlw4ggaDoUN/0c7JBGlDeXA== X-Google-Smtp-Source: AGRyM1sqfkSPHvkTxOaPtZOcTNkMYSm2yWVjkihbwLCJH3gYz50+9KRFnfZffXUT+5VHv4SdyYdA7g== X-Received: by 2002:a17:902:f64f:b0:16c:23c2:e2dd with SMTP id m15-20020a170902f64f00b0016c23c2e2ddmr19017073plg.3.1657556709786; Mon, 11 Jul 2022 09:25:09 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:7b75:79f4:3be2:2c65]) by smtp.gmail.com with UTF8SMTPSA id e7-20020aa79807000000b0052a8128699fsm4967587pfl.207.2022.07.11.09.25.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jul 2022 09:25:09 -0700 (PDT) From: Matthias Kaehlcke To: Greg Kroah-Hartman , Matthias Kaehlcke Cc: linux-kernel@vger.kernel.org, Douglas Anderson , linux-usb@vger.kernel.org, kernel test robot , Ravi Chandra Sadineni Subject: [PATCH] usb: misc: onboard_hub: Fix 'missing prototype' warning Date: Mon, 11 Jul 2022 09:25:05 -0700 Message-Id: <20220711092431.1.I4016c759fd7fe2b32dd482994a20661f36e2cae3@changeid> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" When building with 'W=3D1' the compiler complains about missing prototypes for onboard_hub_create/destroy_pdevs(). Include the header with the prototypes to fix this. Reported-by: kernel test robot Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- drivers/usb/misc/onboard_usb_hub_pdevs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/misc/onboard_usb_hub_pdevs.c b/drivers/usb/misc/on= board_usb_hub_pdevs.c index a0a5f719129f..ed22a18f4ab7 100644 --- a/drivers/usb/misc/onboard_usb_hub_pdevs.c +++ b/drivers/usb/misc/onboard_usb_hub_pdevs.c @@ -15,6 +15,7 @@ #include #include #include +#include =20 #include "onboard_usb_hub.h" =20 --=20 2.37.0.rc0.161.g10f37bed90-goog