Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp544946rwe; Wed, 24 Aug 2022 05:31:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR7toyVXC2bcZiNazekx9znjey6Om3eT072LL+nzN6iX+lNnubGxLinfG+oxWELMO1zSvuwk X-Received: by 2002:a62:6347:0:b0:531:c5a7:b209 with SMTP id x68-20020a626347000000b00531c5a7b209mr29615904pfb.60.1661344313209; Wed, 24 Aug 2022 05:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661344313; cv=none; d=google.com; s=arc-20160816; b=rOw7nVKPJSIFjpgvSvNlq5LnFNVV++dw5B5bZDp6i65cWqUOZiVXLzrYtgz8xszS/J 3epqLlF1p0qk59CANVBrLaNg1q/cKRSfGMQXe7E4V6ZcfO5ljqKrijS9WnOiIDFv3EdU sQS2Xi+7qePr0RUrg1fJyuD6aWt7icCtly11Ar1aYW3/pf5SRKIjzHpY1JLOKudSk0PX 99xCCroL7gr8Q+Rm+5dIwX+9iuNvlkScMBvOVWE996ntBIW5tuW9xXSflMqu+vpRpJfO atdwlA+2eVIA9IjSMNmzh7i3hiu5Vo1vkWUiUcM9ImG8xMyvkgf3Vw4IAi8tikBbmuq2 b2hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=MTumL5s15AJa0/JVeZDy35xcMivh/eVB4eQLMwkwsgc=; b=NtUpZpKWN723AhCVlscA4wt2a2xRNxomC+0LDLoayeL8H4sGfrmqivlUsMrxXrKVCm F6upmu7ZqcZbRo+IQJIbRFtLe2/9i+a0/z0VdiPtgTSD9yY89bLRO0D+POkc/YXNlpJ9 +eQQwvRwC6SQm316Ug+YR7mrSbwXBHMEhFu8JrYGSmFbxZOe9DBmXVRg7VhwnXVFlh7S 0UfftAkL1tZCLcyYjCur9IETqZQMD3QhgK8hZudggQdQ7rNbJZ5b/kDr/21lRWDGq2gg Cl4bILwnrE5/4B11k8JJL2CRKKr3Z+enpwM4U9Erf+W4R+pNBCVBiUOF1Zwh+uBWF3tF MYXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gVUiSWtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om13-20020a17090b3a8d00b001fb2f349c9fsi1229458pjb.119.2022.08.24.05.31.41; Wed, 24 Aug 2022 05:31:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gVUiSWtS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237182AbiHXMKV (ORCPT + 99 others); Wed, 24 Aug 2022 08:10:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236053AbiHXMKT (ORCPT ); Wed, 24 Aug 2022 08:10:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4888F3CBCA; Wed, 24 Aug 2022 05:10:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D7E7461978; Wed, 24 Aug 2022 12:10:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3D5C0C43144; Wed, 24 Aug 2022 12:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661343017; bh=PkVdSo4pnuWMMJjVjFXu9ZGeQQUgZxZC5otX0MCCf2w=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=gVUiSWtSCSbjC3+C8OyBKTc3nZ+Oy9fvXedyX/l7RVQeJ/OQLyGy8PSTrHfEb6lJX 2lN0MmwGVs59zTB4Kh4oke41lLwwNltN7RELGeor9/BCpX++ove6yNMQqfL97nshmO fzGTwy5/fbY/NxfgrLSjlszKjJ2Gql5qHzlezAHZ0CUsqEgjGdZ/lVBP/K/K1O2hIp 7toQnihnPXgW9egK7JrXfBIn7eXtxnCEUaxClQvT5FrMRDIBml1CaELe/L0o4j+Brl 1xUioKiU96wj7asGFnt/WDZP5cSAt3r0XscZmoJ3faSxb4WFhHYMyUK9olIT91qWHJ mLAaaP9Bfq5gQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 1CDD2E2A03C; Wed, 24 Aug 2022 12:10:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] micrel: ksz8851: fixes struct pointer issue From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166134301711.8334.15216665637776829191.git-patchwork-notify@kernel.org> Date: Wed, 24 Aug 2022 12:10:17 +0000 References: <20220822213932.12848-1-jerry.ray@microchip.com> In-Reply-To: <20220822213932.12848-1-jerry.ray@microchip.com> To: Jerry Ray Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Mon, 22 Aug 2022 16:39:32 -0500 you wrote: > Issue found during code review. This bug has no impact as long as the > ks8851_net structure is the first element of the ks8851_net_spi structure. > As long as the offset to the ks8851_net struct is zero, the container_of() > macro is subtracting 0 and therefore no damage done. But if the > ks8851_net_spi struct is ever modified such that the ks8851_net struct > within it is no longer the first element of the struct, then the bug would > manifest itself and cause problems. > > [...] Here is the summary with links: - micrel: ksz8851: fixes struct pointer issue https://git.kernel.org/netdev/net-next/c/fef5de753ff0 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html