Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp673496rwb; Wed, 26 Jul 2023 00:29:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlEQ0lLjfBWdjs9ARrerNzmPxP5zg9w0M4CyXWGB6RLluDhyfzDHlcG0OxbiZ4TyMP07isgG X-Received: by 2002:a05:6870:b313:b0:1bb:84af:bf8f with SMTP id a19-20020a056870b31300b001bb84afbf8fmr1503628oao.58.1690356558826; Wed, 26 Jul 2023 00:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690356558; cv=none; d=google.com; s=arc-20160816; b=qAHgDU7R3qXlaoJt44FFZz2T75TH1PmKYSjPqK4JezJIvoFF6JeCVmkqoJr6vwJAO9 SH5/QNpZorqFWSIUB3cnkyfuYCTKldLgKG/SuigwgKz0uYmx7kkFQtR7qGlZBLZySW1Z SVenoJf2vBYR7kyWGCDkQoF7hxH7ZdLwWGx4BWslO0dXYzWM4cVCObPDaY/no2fkU9q1 25CIenyBFjXsVUyb4KC2OZejHFoH0nRUh4X5acnh6UkNXkBnVmDZq5siedQxIjKpX8NL VwMMCMDx7OUPZau9wopoHNTJtoCHWDi6rN9zp2hgMYd1YVQ9Z/2BVRKmI6jUBrmDKnN2 +O9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=fD/GvIERaV38SwU+ejRHwA+MoHKWdziPahXrFaRcaQM=; fh=NMDqysF9nzWadg0soiFiRyy7l8THFZbZrpDhicOum4Y=; b=LfzDBc6r6weTf/uInepNbOgyepMvDZzojB49XMpZO7EzFmAtZ7y0DYnBS+s6eH3Ei/ qk7GuZ7huQt9HUmJw/UorYAJCt9qFG9z8Ym84pRw0UUKQL8JCUm96hXcXX0ObUAEvguN aYK3ohz+gA1ocSrB6T1sRxFoTcBUBoyABkPdLkY7gFWCc3heM+z4hbX4GgdssfHM1Nhw 88rwx2KrQN7nBRd7M530iTD6nOqEd1YzlZlvbmUcuZ1fZkSYaZtA9qO+AMK5ef2RDKC4 L+LYlEs+4P5I1rUiRdRgA9t4U0JA2rc977iEdB8uHsTZqB2tzQRs+fa0yjW1VQ3CrUP+ pyYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XRqpgTOH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d92-20020a17090a6f6500b00247101dd0c1si725319pjk.15.2023.07.26.00.29.03; Wed, 26 Jul 2023 00:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@kernel.org header.s=k20201202 header.b=XRqpgTOH; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbjGZHN3 (ORCPT + 58 others); Wed, 26 Jul 2023 03:13:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232558AbjGZHM4 (ORCPT ); Wed, 26 Jul 2023 03:12:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F244EFD for ; Wed, 26 Jul 2023 00:09:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C80376171A for ; Wed, 26 Jul 2023 07:09:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78F6EC433C7; Wed, 26 Jul 2023 07:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690355345; bh=NwnoI/eHfBR3fSLAIrmDgyunZibD6RNBhonHwKan8Xo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=XRqpgTOHWP53S5BfUEkhPBaM6gL7pwj5GasDZl/o+KKllBPPrPZWzlNZ9KmsuAc7n 1mZrUyCjlXSbbdLp26Vai6QYUV0GQW0sbvPml+DlzUJITBzdQypSr8A4uYDe2+yfPE mCO4ILsMVgAG1GZZPqoiK240IHEIRnCPwYmFqLAveRRpcAGW5t6thyg4KLJ6qnP2To GvB9Y+kSJqYo7jbWQCri2H2vMo1HL7OG88SsNebfe8ChndMY1tx7e+4scuZ1m262ZS dwa7uPF3M6QeGYjIOVZfMNpgi9wReKNbefi6GkDc6t3uInhA+ZzZRMfqqc/NlY0rnw D0B6PYD8coK+Q== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v2] wifi: cfg80211: Fix return value in scan logic From: Kalle Valo In-Reply-To: <20230723201043.3007430-1-ilan.peer@intel.com> References: <20230723201043.3007430-1-ilan.peer@intel.com> To: Ilan Peer Cc: linux-wireless@vger.kernel.org, Ilan Peer User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169035534220.3467307.604241930680455122.kvalo@kernel.org> Date: Wed, 26 Jul 2023 07:09:04 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-wireless@vger.kernel.org Ilan Peer wrote: > The reporter noticed a warning when running iwlwifi: > > WARNING: CPU: 8 PID: 659 at mm/page_alloc.c:4453 __alloc_pages+0x329/0x340 > > As cfg80211_parse_colocated_ap() is not expected to return a negative > value return 0 and not a negative value if cfg80211_calc_short_ssid() > fails. > > Fixes: c8cb5b854b40f ("nl80211/cfg80211: support 6 GHz scanning") > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217675 > Signed-off-by: Ilan Peer Patch applied to wireless.git, thanks. fd7f08d92fcd wifi: cfg80211: Fix return value in scan logic -- https://patchwork.kernel.org/project/linux-wireless/patch/20230723201043.3007430-1-ilan.peer@intel.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches