Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1896776rdb; Tue, 3 Oct 2023 04:44:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnrgBZqV1mHwKnnGUCbCv5wD0VlMPqizJUwMCclfeIOzVZFE0T27YyV5p4s0J6au0j+vqO X-Received: by 2002:a17:90b:144:b0:271:80f2:52bd with SMTP id em4-20020a17090b014400b0027180f252bdmr10222698pjb.35.1696333460533; Tue, 03 Oct 2023 04:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696333460; cv=none; d=google.com; s=arc-20160816; b=bShPGs4SHb4RYTNQ6pPKqp/9IlIphp3vLpKCOftBS1xUmAzUSZDtzLsXjRvvZdqG0M pdJsCRi2+syifCYae6Wk8Y0AjSi5Gg1gSi8Bg4JPHOTZuca7OsfUu60OAfErqWtYa4Xz 0gMaBkB1ok+K5jUt1WdXhLHdoTppuCFk852DR2ZN3ba+ggHmeDMMuUQk+6d13b910ZMM jwspFNXpmpF5uxBL3SWTHYP3jHY3YDooP5BAZdbSHMZU8i31PBIrf9EJa7/WFVo2UtUA W8tsy+wKKdC9WTuabeItiozQ3BWGCDF2HOyCsHQPlFrNv/LNAVlkx75YCPXnHQ9qrxY0 ixVA== 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=Sl0N+LSszTR9bP5BZlNOvcUEMPnLU4BQgT8f4AQK3YU=; fh=W+d0VTlB06MRf7YcZ9fsTH6rmN1qgblnN3a4fITKvd0=; b=V7STGrlFQ+wQ4Uxv1/T/AfqZTvtEW4Biw9T92CZ8q1qeHj56yZGEW80uB+vJXjnWvS 3IRLim2/l6Fd0eOnzrXE9YqWfgVSNt0tbQ54r21/xhUv+oTklArTTXPeucE4ADzDrI6H /gOGEtG7MKyJwQNvckAWbxEw64vb3R4ciyesgVo+MgmYR7VSJqIE8PWemewip0hnX3S2 QOqST6ODV07doM0af7IGzLb5zeOoqnkmi3TaB2dew3fjg3FH3i59H9ELLcyaGqRI9srV fSpnVNIsIKsI6io4O5BGXJBRjdY54jCAP0hUrirxqHsrzIS8J5FNknz6T6sdH8XDlNF8 CjlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ok4Gd3nv; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bk21-20020a17090b081500b0027769032e57si9443726pjb.52.2023.10.03.04.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 04:44:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ok4Gd3nv; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9493481896FF; Tue, 3 Oct 2023 04:44:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231927AbjJCLoU (ORCPT + 53 others); Tue, 3 Oct 2023 07:44:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231912AbjJCLoT (ORCPT ); Tue, 3 Oct 2023 07:44:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72739A1 for ; Tue, 3 Oct 2023 04:44:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C470C433C9; Tue, 3 Oct 2023 11:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696333457; bh=1ZHQ/8YgwEfzgFbkL9qF9ChB6L2yi23VDEiHrr0QSOc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ok4Gd3nvHv1EyjGVLUsCl7xtuwHxjPUWEjBD3qkDA6gsXTrnKQYAlPmZcG7rAXYY/ 9KDHyZtSxr88tcOEplso1aK/By0kcmnJati7UEpKeELlS6ElK3vaIs6NJnH/2jRXZT jc7N0SCKtiyU7lfVxyE0SScXS/Y6O4MJR0tU+5xHQdmKYa4kqRw3fb/B5TUcm8BQsa PCAtkRdyOTKGnXfcGaG0Xq5C3PHrQbsJ0ycPD7moI/soiTRbsl9qTTJkaMNNdVy/A3 ipozdRkNbxbsaBURS8GtAnVHQ0Eiz8+ck8nDlDwXYWuA8MKbC4wBJQ0RGLHFaX2l0T VQ1TwXiJyqsOw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtlwifi: use unsigned long for rtl_bssid_entry timestamp From: Kalle Valo In-Reply-To: <20230929154524.222498-1-dmantipov@yandex.ru> References: <20230929154524.222498-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Ping-Ke Shih , linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169633345416.28914.4857738400744205275.kvalo@kernel.org> Date: Tue, 3 Oct 2023 11:44:15 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 04:44:19 -0700 (PDT) Dmitry Antipov wrote: > Since 'age' of 'struct rtl_bssid_entry' is in jiffies, prefer 'unsigned > long' over 'u32' to avoid possible truncation in 'rtl_collect_scan_list()' > and thus weird result in 'rtl_scan_list_expire()'. Compile tested only. > > Signed-off-by: Dmitry Antipov > Acked-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. f0fb62e090bd wifi: rtlwifi: use unsigned long for rtl_bssid_entry timestamp -- https://patchwork.kernel.org/project/linux-wireless/patch/20230929154524.222498-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches