Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp693815pxm; Fri, 25 Feb 2022 17:27:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIVHzWhhYEEERpO373ce1K7Ru0irXAVEQO6tMjyJrKtkGMEcYdaI0qNqDd4MKDJDYbovtT X-Received: by 2002:a63:8748:0:b0:35e:d94:7b79 with SMTP id i69-20020a638748000000b0035e0d947b79mr8337029pge.81.1645838872516; Fri, 25 Feb 2022 17:27:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645838872; cv=none; d=google.com; s=arc-20160816; b=swd6RE5Gw1TQUh2pZkumf7FArLPaqwh7SIGqRfaOQBlKmWwVHo4fCcg2qr+3lwLYwP Im78HV/9RHcDsKVU6vdsmG4aVDdJHzY1lLEdjWWkTu2uiug7RrjqR/bZYvOW38hlgXvE cJ3grAIbRH++TC9X5dFAqXOdWC1znPNc/s4wqlaOFgILXACQJbQTkUqEHKesGLSxaJ0w nF1VwbQnqbtqcwEQjXJPTXgaerogoORzO32nS+anFwkJfFjmarAJlR7KpWQv6Hkg2CQ/ wnBrgFqmE+ulJEOK17RevY1yNc5U0eHA0v5VxmxejQpTLAhyKepJ1XpQH5sbqLu59jRt 1opw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vj/W5XS6HVqNQijF0TxsmTuehT9DxzRkoqLx906rHIM=; b=jxqiaPJ686UaD0XFebCZidY9gqppWfWNOOUOreutWmwB9KlpVlsd+qgGU6ovOFzzUf 9O2wTBu94pQYyic4Kk9FaZJQzCBVRlS8J45KNjEUnnV8Q3ew8mAEDMOVua8Gg/BVTkO0 NTbZn37S541f1q6H0MZYe0Jhuxx/oPhxkVxa3+ffA02aDbH1p6j/nhgz3MQWqrl28vJc 2xJ3SYeqwwBbWcL2BdmqYk9UIKn31CZoUDIA1r85GlohZY5YbNAnBqAVdlQToGAarZO9 l7nOa7dVlnaqmCQHVin6PuWc4NEXmc5IG7PET2E438/r5acJLh3M3W7FTS4Fpl+u4jpM P/mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mxn8YgkV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g10-20020a63110a000000b0037333a4f4e2si2995771pgl.464.2022.02.25.17.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 17:27:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mxn8YgkV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B40465D3B; Fri, 25 Feb 2022 17:26:15 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236045AbiBYUQL (ORCPT + 99 others); Fri, 25 Feb 2022 15:16:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236038AbiBYUQK (ORCPT ); Fri, 25 Feb 2022 15:16:10 -0500 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 410DF2023A0 for ; Fri, 25 Feb 2022 12:15:35 -0800 (PST) Received: by mail-il1-x132.google.com with SMTP id j5so5208626ila.2 for ; Fri, 25 Feb 2022 12:15:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vj/W5XS6HVqNQijF0TxsmTuehT9DxzRkoqLx906rHIM=; b=Mxn8YgkVkM1NAMOHsI5/Evv7qtSJv6/K7jCFjq4seUaGTlzuQsVRcHPdmGB90sClDz S3hPrn1jRtmjDHaRqn2rMgvvfQFI8Qdy06vvH/1v0jfktxZrf8X4ssMZdmrD+L3oavnG i5tCmh7uJk1pBSq52eS98VuFujt1yOgFtOF+9EyZzFpwUdvVd3i/aN5UnqhToVQBnCRB 2IH09cJ6FYGqJ7LH6tIUlgAoGZhZMI8jaDp+fMyebZV1pK2zsZSes2p4hovnrzMU4rJ0 tPbwIFQEUXcco+DkbN6NQ+YQ67zspnMsrrn00FEG+gf0K8UOUQQS6sOzy9+bE5UB3UkD iCxw== 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=vj/W5XS6HVqNQijF0TxsmTuehT9DxzRkoqLx906rHIM=; b=pNogIGG2OXlrUbTvdxo9yH9Li8LKjefLh4eLI7l7J/7DmEdan+EYhfEzVg090dNSRK Lty/flXThKrI3dThTT0OgCSkPEP0O38uFE8DXnazXSYxJ3ppmSyGWolBN9kFq/iBAoZ0 Fgu0cv3fuoHutMyEssFSMnAPwcxzHH5Z2ZdB7uZ9AgbmpV9nYLKZNZetoU1d256YJfYn /LqCmk0jL6VjndtSXWtaZy/BpPN/nvghAN7t+iJbRjIjNo5Lpifzsr8z7KsN/nzJsBBX 4dx1lcOKlltmXVGlOYlCDAF8b/s5ExMcJUlir9zxMzI4Z8rxfgJglXaFtx0Ix8Uxr6vh kWKA== X-Gm-Message-State: AOAM53315NtbawajIx6v7ILMrjHqRKgE3vLhKoi2Rg4xghj3/gfGX2zT KsyxEJ/PhzplcGH0bkRo4jBBjQ== X-Received: by 2002:a92:c990:0:b0:2be:4192:79d8 with SMTP id y16-20020a92c990000000b002be419279d8mr7140965iln.29.1645820134605; Fri, 25 Feb 2022 12:15:34 -0800 (PST) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id v17-20020a927a11000000b002c29e9b5186sm2241799ilc.43.2022.02.25.12.15.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 12:15:33 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: rdunlap@infradead.org, bjorn.andersson@linaro.org, mka@chromium.org, evgreen@chromium.org, cpratapa@codeaurora.org, avuyyuru@codeaurora.org, jponduru@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net] net: ipa: fix a build dependency Date: Fri, 25 Feb 2022 14:15:30 -0600 Message-Id: <20220225201530.182085-1-elder@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 An IPA build problem arose in the linux-next tree the other day. The problem is that a recent commit adds a new dependency on some code, and the Kconfig file for IPA doesn't reflect that dependency. As a result, some configurations can fail to build (particularly when COMPILE_TEST is enabled). The recent patch adds calls to qmp_get(), qmp_put(), and qmp_send(), and those are built based on the QCOM_AOSS_QMP config option. If that symbol is not defined, stubs are defined, so we just need to ensure QCOM_AOSS_QMP is compatible with QCOM_IPA, or it's not defined. Reported-by: Randy Dunlap Fixes: 34a081761e4e3 ("net: ipa: request IPA register values be retained") Signed-off-by: Alex Elder --- drivers/net/ipa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig index d037682fb7adb..e0164a55c1e66 100644 --- a/drivers/net/ipa/Kconfig +++ b/drivers/net/ipa/Kconfig @@ -3,6 +3,7 @@ config QCOM_IPA depends on NET && QCOM_SMEM depends on ARCH_QCOM || COMPILE_TEST depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST) + depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n select QCOM_MDT_LOADER if ARCH_QCOM select QCOM_SCM select QCOM_QMI_HELPERS -- 2.32.0