Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5871045ioo; Wed, 1 Jun 2022 14:34:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/74qqIgthaNYd0DXzADR+lGiN9nJsR60/5u9OeigWS05V1df2n/m6k9wE+irIcyuqgkqL X-Received: by 2002:a17:90b:350d:b0:1e6:7780:6c92 with SMTP id ls13-20020a17090b350d00b001e677806c92mr2311902pjb.46.1654119252941; Wed, 01 Jun 2022 14:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654119252; cv=none; d=google.com; s=arc-20160816; b=oW3bN6cBqL2zKoh35qbqOzPyYVLusCj23sg7zXk5bJbrJoQUgxNTSCU1xuxTM9kWLu nSD+EfeCduaHp2bfClWZ3Md/VCLRcteAhTeij47am3N5mMg33o87hlgSLnDcPCbFGAsg KsBm436ThN6UZV9ZpYwZ+eyHknpmJK0A2jJJ077lsVcbsTwGVl10luTBL/cagXOjSJCA pz/9dOi75jBclRRO0sBEXOjbVaZl6O9kYSfBZ8PVLwQdFxoRnO4/5yZVfW80DgQBR7ep OqB6mizk9fap8K76dDIUWhEEN7I2TRG331gYuDVPBMetpxSxiAAP3caE2d8qZD8bdTUj QWSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EnpJATC61A1PapJaFkGkKHryWmutU5vYtbP0p2Sgvxo=; b=y4r57AAS+26pVlVhNbKiyFYX48N6OKkPgq1SPipEbTI23wh26kGAo2/x3P8Yo/GSiS WKqMdEyDHQntnEA9ZPItp3Y/vtOYaCINA5FNOnfudOrfKk8ETXDqdXhZ4/vxVYOvSLoO wHWvx5eFRY1DMt6HfPQO8njWakf3NNOAq5G3KptY9E6yBPY+bpnIdTSBPawgKePQ86qY btOc7gV0s0fyDfextY/3rZIowPDBieMUt3FXIOiz3Bb/Zin3S5w+h7bxs6SWSo8SYp0+ 0fKo4qHovDd5U1/1eH81vg8CQo5bgimYtTO1qLvPu52Dj+sH8IYBpG+9AYneoAFRRySS h1ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=eyneKueB; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d12-20020a170902cecc00b00163f8ddf15asi4242615plg.478.2022.06.01.14.34.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:34:12 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=eyneKueB; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D929219C762; Wed, 1 Jun 2022 13:22:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbiFATnj (ORCPT + 67 others); Wed, 1 Jun 2022 15:43:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiFATni (ORCPT ); Wed, 1 Jun 2022 15:43:38 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E17341E2243 for ; Wed, 1 Jun 2022 12:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654112515; x=1685648515; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=EnpJATC61A1PapJaFkGkKHryWmutU5vYtbP0p2Sgvxo=; b=eyneKueBJXk0aPi2/gYGgcwyEfr7Fv1ONqFUDIz0fcxZgIABI0qcD4VY VWTEIJj0QrjwgAe0/sbjCQ+kuWY8jR9ronA3PhUPdL4y/wZfoXB4kaSNF MnvA1rvbiNkXVYzQtqwz08P6bPUQ96k+MEWklSJIWSHZl4pUBNhF9V21s I=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 01 Jun 2022 12:31:15 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2022 12:31:14 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 1 Jun 2022 12:31:14 -0700 Received: from [10.110.9.238] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 1 Jun 2022 12:31:13 -0700 Message-ID: <4a74852a-0a19-7fe5-95e6-09317bfe0eb3@quicinc.com> Date: Wed, 1 Jun 2022 12:31:12 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 01/15] mac80211: split bss_info_changed method Content-Language: en-US To: Johannes Berg , CC: Johannes Berg References: <20220601073958.8345-1-johannes@sipsolutions.net> <20220601093922.347d47c279fe.I15937cfe8405999084f164ddf57390f8b8d2bc61@changeid> From: Jeff Johnson In-Reply-To: <20220601093922.347d47c279fe.I15937cfe8405999084f164ddf57390f8b8d2bc61@changeid> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 6/1/2022 12:39 AM, Johannes Berg wrote: > From: Johannes Berg > > Split the bss_info_changed method to vif_cfg_changed and > link_info_changed, with the latter getting a link ID. > Also change the 'changed' parameter to u64 already, we > know we need that. [snip] > - wcn36xx_dbg(WCN36XX_DBG_MAC, "mac bss info changed vif %p changed 0x%08x\n", > - vif, changed); > + wcn36xx_dbg(WCN36XX_DBG_MAC, "mac bss info changed vif %p changed 0x%llx\n", > + vif, (unsigned long long)changed); just curious about the typecasting. https://www.kernel.org/doc/html/latest/core-api/printk-formats.html indicates we should always be able to use %lld or %llx for u64 hence no typecasting should be needed