Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2230230rdb; Sun, 4 Feb 2024 22:47:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjh2u9QnKbPO6hLYVKxjvMja30bU6tRPMCzVzrLf3YXMay9sAt/sCuLeEAyQjmCzUXESQL X-Received: by 2002:a05:6a20:9594:b0:19e:4eb9:ef74 with SMTP id iu20-20020a056a20959400b0019e4eb9ef74mr11552899pzb.14.1707115635721; Sun, 04 Feb 2024 22:47:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707115635; cv=pass; d=google.com; s=arc-20160816; b=csJd2c8Xkw0x/hYIdmsiHO1aNHJj33wx67E2agrQiuw/HF512flCvWhYtKR3SYLKr0 hklP1f+y/vQ1GesjfphgnB5sOTQEjj/0mO4+DvfXGe/MpIpVwJFK6KutnMl0tNsl7yv8 FVVwidbmi2iolCZ8o0KTbLCdsMR1sAH4lNj4vPi+iJya8/uw4brgs++eIkZj6aiyqogs MPuarT4TfqYF3cezAHY3VGpTMkLYJBIhPlB4imq+dPnq/aFufLScjC3eyMTPr0a49iHb wwHzjUovFPIADAMK9kWxUWQ+jfCOfrD1WqnjDVM74t2wzBMFDQC8K9TepON/g273whzS AJVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=H+73lFd63IMENNDlqdNOZwlEByARkurPkw057rEJZnA=; fh=T/ojgCRsgOTQV3EYS8u8x7RtZuFZC1n7Wwz49PntDPk=; b=e53wCBQwktOmJWvmSntCC0HFEZ7A0RUX6jJ2L8RzlSU/r3CjjMFHw961G3VvfpLsyK TFcx4ddKWklFzIi/z1f0jFkyrCH3KYdXBtkK0CMPBYuTSDB704fHKSajAyBSKQ8Yo8LC 4uLBYNN9nOg8hnw99ryJj8bo1qCl6nIokrWmOWWGS4mKhb5tzF1nhY4kCLmCX2KVmYl6 f3TdDfMR5D370klAhCIUC06pQVRQFyJRKjijwdLglBRzURBLD3BR6up9aW9hMtRYZdy/ 5NMPFRTpRTnFkmE9pKs+/AfwZ+d/j3QMY09CXzRhAPMALXvkBxFXWqFSXRlt789sYPDL xnYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YcirWRh0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWGMMKLkJg6dx1CxsKJzIQCMJA/PWN4PSZM2Ogj/svOfhTdtTuD35IEsSJQV/RXbns8GEHy//+zeiPOOqzmbSoXWUnnneCb0vQ+ovwc5w== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c4-20020a170902848400b001d96401fbfcsi5755628plo.521.2024.02.04.22.47.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 22:47:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YcirWRh0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 40DD7B21737 for ; Mon, 5 Feb 2024 06:47:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A39529470; Mon, 5 Feb 2024 06:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YcirWRh0" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7364610A01; Mon, 5 Feb 2024 06:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707115628; cv=none; b=ZeQ6z6o6Lq093cqT9/l9j9L7rcUSopVTom1SAc8JZ6s3pJ5kk5LYqMsZZZe6DNj4ZTE/AgB/QaSkUD24kaOp4d9yryHt80se7sHiFuIsQVPGwajCHT3KbroMm8SjrLx4YKIdY3/ho6XTR4ptchIEEMI7j+Abzjj8/OPb35v7zPI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707115628; c=relaxed/simple; bh=Mh6q3wecDnnNR+I+giA4evuf5uybfb/YiS5cInRPXrA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=A4pk+yFVlBrgti3ApThTd8DnZIgsZ+QWRNhJDhPSM4kgLqDKwmEOInM7ktoy53vRIX7VDOWSldxKj2uxJll/PSt2+fYYRKAZjRFHMJpCaSPA8PTWQ/mciwq+LqGbF/uxK0KxZdY01No0H7z18og+tXyf/KgPEQ4e48sdvhrgAnU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YcirWRh0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BF7BC433F1; Mon, 5 Feb 2024 06:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707115628; bh=Mh6q3wecDnnNR+I+giA4evuf5uybfb/YiS5cInRPXrA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YcirWRh0k+9sxyoaALUxlh53zP42tNLWMzeqN29bfhT1zuLr2SsV6n7PFTNoqhlsq 5ZflQp8GF8Tn4mlYWO8Sacf8jrHYV7zGkr3nWygF1i+mCdUox74sb1qreH1bmDqzOU MiRoqZNnLsCFwJCgscfw9IkA7mhVhMymqdUleWFdhRwp71uAqzxYQexd6ardLRPzg1 +PkoZHy6EE4PksMBK6d8Qdr4gScpwHYvqxaQQzmEDs5n88TWCllUclugQeFMxMpNQG 4pP8iWmHyqi91HxB/rNKLwaJHCXymSJt04KRpd541jl6KlSDEwtyS7eMlWDPFWKWXI ZVAXqeFGnf9zw== From: Kalle Valo To: Ping-Ke Shih Cc: "lkp@intel.com" , "linux-wireless@vger.kernel.org" , "oe-kbuild-all@lists.linux.dev" Subject: Re: [PATCH 3/4] wifi: rtw89: fw: parse secure section from firmware file References: <20240203003251.10641-4-pkshih@realtek.com> <202402040350.rRpOepoU-lkp@intel.com> Date: Mon, 05 Feb 2024 08:47:04 +0200 In-Reply-To: (Ping-Ke Shih's message of "Sun, 4 Feb 2024 01:31:45 +0000") Message-ID: <87wmrjs907.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Ping-Ke Shih writes: > On Sun, 2024-02-04 at 03:22 +0800, kernel test robot wrote: >> >> drivers/net/wireless/realtek/rtw89/fw.c: In function 'rtw89_fw_hdr_parser_v1': >> > > drivers/net/wireless/realtek/rtw89/fw.c:384:88: warning: format >> > > '%lx' expects argument of type >> > > 'long unsigned int', but argument 9 has type 'int' [-Wformat=] >> 384 | "section[%d] type=%d len=0x%-6x mssc=%d mssc_len=%d >> addr=%lx\n", >> | ~~ >> ^ >> | >> | >> | >> long unsigned int >> | %x >> 385 | i, section_info->type, section_info->len, >> 386 | section_info->mssc, mssc_len, bin - fw); >> | ~~~~~~~~ >> | | >> | int > > I looked for how to print out differences (subtraction) of points, and > "%tx" is the desired format [1]. I corrected this by v2. > > [1] https://docs.kernel.org/core-api/printk-formats.html#pointer-differences Heh, never heard of %td and %tx before. Thanks for teaching us :) -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches