Re: [PATCH v2 2/2] e1000e: ignore factory-default checksum value on TGP platform

From: Vlad URSU
Date: Tue Jun 24 2025 - 14:54:36 EST


On 24.06.2025 21:34, Jacek Kowalski wrote:

You are right that I'm comparing the wrong value. But it is only a matter of variable name:

Ah, yes, you're right. I missed the fact that nvm_data will hold the checksum word at the end of the for loop.

-    if (hw->mac.type == e1000_pch_tgp && checksum ==
(u16)NVM_SUM_FACTORY_DEFAULT) {
+    if (hw->mac.type == e1000_pch_tgp && nvm_data ==
(u16)NVM_SUM_FACTORY_DEFAULT) {

Could you check my change with this modification?

It works with this change.