Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp705174rdg; Wed, 11 Oct 2023 03:18:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqrXCTDFmpfderp1TMvGGuPcThP3tnRsZ27e/t5hKX6X5RV1wXlYQh7h5kZQC2Lx6jx1ue X-Received: by 2002:a05:6a00:138e:b0:68f:c2f7:cef0 with SMTP id t14-20020a056a00138e00b0068fc2f7cef0mr30121304pfg.4.1697019494889; Wed, 11 Oct 2023 03:18:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697019494; cv=none; d=google.com; s=arc-20160816; b=VBU2L8inAtW18jOCBiwP1jU5Dp+dOIKgm+s3lD53qOBVlahiL/avCAEAhGq45N+jPP YpFm5q0EuoyiwhJ+n6Q9MqrphSG58IVg1iJ4UjEjT4oYML8b6vIbos1/0AsrugGECTyI OM9v4ehA0KsRQKOKBYLVchxkbFmHTfTNPd5XJy9HiChgRKeenK54JdvxpvsCOh8Zs0AC RjbrmRkq7FM+xAwBp1wzgxYbkpfbQVw3ZsusX9WTmlF33r6RAwj+NUm2O+O600CdKJYN aow70A+FGKos1VZ9wfSHldUU5JtsoMwx2bIgjTfZVBQjGRFtT4zomg69IvWzCQNX2Kua sVzQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TNDLy8wVxnvCDIVD/kEFtCxn1vbROhB1SmIoVH0OXMk=; fh=gZ7kD9qKtnlun0eYcs5tdznUCFo8Q3XgNORYUf7jH8g=; b=odRee+XLepdklghpekvz5AIQs/TFS7MXHDb0rKtW+9S/P+EZzHo4Hea6z4e8Z8bdgG TCmDaJpo5m+m2qHcZaDS0x00Vv2sjGi79eKrW0WNl8KcPQ5kYNexWV1BiYdaju6ZKcII HehOra75QowzIogmFq0SwHSHehIGAv3A7Y3XLkUYjvaAItiXozHb25gDgbvP+vTp89dF 6LPTM6VldvROiUbfcMyWU6Oea2DHb9XYsWTi50bBtNguy2Y32gy+yQIWQeybFx3Mj4MU gtPhI45huc1eaei9w/x0raPTaT+r9WmPtCyisNq21ysSo1fbx30wAXuwk3krZCb2QNXI iDZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LkDIQ7Xa; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u186-20020a6385c3000000b0057806be7290si13907789pgd.451.2023.10.11.03.18.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 03:18:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LkDIQ7Xa; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2642982429BA; Wed, 11 Oct 2023 03:18:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbjJKKSI (ORCPT + 52 others); Wed, 11 Oct 2023 06:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjJKKSG (ORCPT ); Wed, 11 Oct 2023 06:18:06 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 294A319BE for ; Wed, 11 Oct 2023 03:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697018866; x=1728554866; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rudZcrRqzLk7xoQG4/RUl5ApVruUy5Uq9djN1M6tkdo=; b=LkDIQ7XaZDGHT2L0wKeLBM6SZ5zy9IvqCUJf2rMnDq7moG2bRUgt7bfc SIMJR6T9YMeamoCLpfN+cOfsCS0UgULAD8BTjuowzVck+xNZTm7VUSGS+ TT146ocerOd9ReHRgjYugwMTj3Hr39oFqXsTAIYDLQzKwr09CdN0Fbkl/ JLU/egunA5QQMLE7B+Ov45soghhsGAWsgXemM2HNbd3If1jNpA4Rpra5s Q4IeYMlmGJnmdNeMREiY7YZQsrZ8lEiGwLPAcyu1SYFty7kIQYhqfSr1P OFnlR73ZnaTDJeW21RxbTovHMk4O7U1lI3x+3LCqFBdlIBs560EGslyxF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="415670551" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="415670551" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 03:07:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="1001050236" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="1001050236" Received: from mzarix-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.intel.com) ([10.249.94.125]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 03:07:44 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Gregory Greenman Subject: [PATCH 01/16] wifi: iwlwifi: fw: increase fw_version string size Date: Wed, 11 Oct 2023 13:07:16 +0300 Message-Id: <20231011130030.d859c6fc4bb1.Idced2e8d63c492872edcde1a3ce2cdd6cc0f8eb7@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20231011100731.361200-1-gregory.greenman@intel.com> References: <20231011100731.361200-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 03:18:10 -0700 (PDT) X-Spam-Level: ** From: Gregory Greenman In reality 64 bytes are enough to hold fw version string, but some compilers can complain (with W=1) that output may be truncated when building this string with snprintf. Increase the size to avoid this sort of warnings. Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/fw/img.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/img.h b/drivers/net/wireless/intel/iwlwifi/fw/img.h index 8d0d58d61892..96bda80632f3 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/img.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/img.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* - * Copyright (C) 2005-2014, 2018-2021 Intel Corporation + * Copyright (C) 2005-2014, 2018-2023 Intel Corporation * Copyright (C) 2013-2015 Intel Mobile Communications GmbH * Copyright (C) 2016 Intel Deutschland GmbH */ @@ -198,7 +198,7 @@ struct iwl_dump_exclude { struct iwl_fw { u32 ucode_ver; - char fw_version[64]; + char fw_version[128]; /* ucode images */ struct fw_img img[IWL_UCODE_TYPE_MAX]; -- 2.38.1