Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp447137lqh; Thu, 28 Mar 2024 06:55:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdTArMAyH/9QwPYF9L2hTKHVic27vQOZ+HQlIx6IZ6rfQDSIK6aCzkZVz0aP9H4fG3f8PY8GuWxgftnWvxc5ICY9FnAMMG/GAcPuuyug== X-Google-Smtp-Source: AGHT+IE4drV4wNSYMxthHigGFw3qnxqtXH9MRMo4Dw3wlvhk9BEttv2AM2AB/zEICvwbfc2fH8+t X-Received: by 2002:a17:90a:990e:b0:2a1:f586:d203 with SMTP id b14-20020a17090a990e00b002a1f586d203mr2660281pjp.41.1711634136725; Thu, 28 Mar 2024 06:55:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711634136; cv=pass; d=google.com; s=arc-20160816; b=kdXIwqajvUHHnBVnQ9JeGMGDIkBWvVrvGVzHrZ+rTHCe1DLcVDusq3y6bkY5Mhn+YG wfrpBbU/8DnpNFA4NRzKaG+5m+bp4lgZ+rCmBqXI/RBPJdH/EKW3kZFLmLhDR5NjGpNc qqLHoIaFyRSapEafjUs0HALaoVf/IPHjnmBa2UuVKqJu6ES4W08NMS5yKL2WlIp+7jr8 s4clcZyUkvFl5HEd75biGrcAagimb3ux8OOcE2M/H7TvM/2QBUf/abd43FH+Avk1hqZb 0QMN6QzmT9Qihbz0kRoN9gr907sog2EbladKLzSLX0YI1F7PT3CZPVne+vHAsxkkIdQp T6nA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=HLQZfWtO937kUXIGGl0fUWIUuPol/o/ESykLRzFzkf8=; fh=am56Zmc2nL1qJHMyLIkacbqzazWL7C6XJ+JLt1fcVfY=; b=K/HK76L2GL/xuVOwcapoqPAjzCeOoONncsPfR02DoEss4PSx9eLW6aqr8KXchsEskT FNLGedW9PRFjtBj12XcQJvxPeENx+VURhBsieO1qn1QzJnRie1FvTv5Y7G3DzFZcnWS/ ZyhGdbWNs/RKg6HISHiO2GqKrBPTUKsGVnms3qssPJFp99VjAhNSMLrfjLLKMeGTZ9mJ jzn7mYChyZq5fpURRznSaE7WoVr9cfKBVaNqOhbSNEeC9Yg3SY9wBlgT96wMO99u9zT5 5UfVhERt6ZxHEIw91iq4X6h5THhtJioTnWXHiSMv3EGKBzds0S8FarQHgedtQ6Pv8JeQ OSCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jp1kbEs4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5461-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5461-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l6-20020a17090ab70600b0029ba20feef7si3545924pjr.188.2024.03.28.06.55.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 06:55:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5461-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jp1kbEs4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5461-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5461-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 69D97294FAF for ; Thu, 28 Mar 2024 13:55:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DB4D83A00; Thu, 28 Mar 2024 13:55:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jp1kbEs4" 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 6678582D70; Thu, 28 Mar 2024 13:55:20 +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=1711634120; cv=none; b=r139ocJZI2A/xRAHSiyKHW5JhoZirX0Byreg/dmB6XcszCn37+zbKpaJlqM4lvlLCxlHEh4f/i33uO68T4KfV0p46OT43JXj9usAh8X1gYD4J6r0LSx94X9RWKpCuNqmfjuGJ8vwOTdiRBvcTaC4v0/qufYuAFwQyyUH2sWIzBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634120; c=relaxed/simple; bh=n9F22yWXtFRcU1WijjOVkHTPFMA69fbrjNvPBUneSRg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=cZlYtpt680sW6d7lPq3f+azKZgcURIh2VazskmTFgJVppKrDLlqesxEtMlYaSh1qiiyG2AQFIWNCTDxaGBaaPWEtAANB+yXEGDHo5UERtMjA723Qbwo8WR3Ra8FZDG6+J6exigZsjYfaDV3OJCg54Y6Ts9lelXYqhAtzHRXFH6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jp1kbEs4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 687E4C433F1; Thu, 28 Mar 2024 13:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711634119; bh=n9F22yWXtFRcU1WijjOVkHTPFMA69fbrjNvPBUneSRg=; h=From:To:Cc:Subject:Date:From; b=jp1kbEs4a4vnFZMw8A9BeJ7bpwUxPTuL4fTUovZjJxt+wUIue6cu99IQujLUs/WoO BAtafn6P7JMnZ3b6dKqXEi6M2PnX6S2OfUKegIwHAjMnIOFH4Spf7xstFlNg/unqcK unSOPJynwPOawKMFpF+JiBXw2VeGzZRlv5q68rL2cJTBAepkrMz+USRhLnIaYoswP4 1/LLIH78onUjnBlpYS7jdJgHoQKWBTGRXBZtLdAY8sPameepOAL2u7Jr3M3CHxQaq+ Hh8aQRtBv5noWOZh23j5fSLN7z2fzvMIAwl319HwkqHHx47b9Z9vm/zMEXEVD8w+hr epdLckIlnXz9w== From: Arnd Bergmann To: Kees Cook Cc: linux-hardening@vger.kernel.org, =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= , linux-wireless@vger.kernel.org, Kalle Valo , Arnd Bergmann Subject: [PATCH 0/2] wifi: ath: false-positive fortified-memset warnings Date: Thu, 28 Mar 2024 14:55:03 +0100 Message-Id: <20240328135509.3755090-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann While testing some other patch series I worked on across gcc versions, I found a couple of stringop warnings that only show up with some toolchains but not others. The warnings I both seem to be false positive. I have also not found an explanation why both of these happen in atheros wireless drivers, as I don't see this in other drivers. Maybe Kees can work out what is going on here. Arnd Bergmann (2): [RESEND] carl9170: re-fix fortified-memset warning ath9k: work around memset overflow warning drivers/net/wireless/ath/ath.h | 6 ++++-- drivers/net/wireless/ath/ath9k/main.c | 3 +-- drivers/net/wireless/ath/carl9170/tx.c | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) -- 2.39.2