Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3834140pxj; Tue, 15 Jun 2021 09:35:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuAN2k1ah4EKTnpMtIkujW634bYD3Nu9oHmOwD81NRPLUuXA8ghORxy/t9xY0JiJ3rwnrv X-Received: by 2002:a05:6602:2d83:: with SMTP id k3mr191766iow.5.1623774920211; Tue, 15 Jun 2021 09:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623774920; cv=none; d=google.com; s=arc-20160816; b=ar1HZak1ODVF2Iwp07VVA/vREil1wA5qe/0BQwio9FAnbUGolXxtAApiJp2eJ0RaQf G8t1wTiE6SsCLz/kT61VdBuG6pVvb9z+cSa2FaXAZ0Ya8oix4CFB9EG00I3QgAIrWohJ u1jjgTE47esZaxCYn2kRO0g05hprudcYU9LwsMgR9lWQ3r0LqdvKZsqvRke/2HMYqCNW DQrI5JOnDzpj/ME8a+nref2imSdHC2ZKSn0xQ4mcKgQ6quHKtWTaQ/phqORssx/ySk0G 8a4YyjTxrqb22M4euuQL3O1lcPAx2xfB9FMzt9c+vi8aeQ/x40U5F1vtAaezyanXVeh4 tzKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=fz3qfY1ygIS4xuZuzfqmWf/ZDVf+UQyjl3fg/OqKVhY=; b=HNjDE5wTchJIazVODQRJZ8Bd9kI30MQ0EjPzgLhzOVdKGCgmG3SW9gkYFFzKNzdNfj 0yBgEqw1uX1VxRjqFX0Wx/SzULdeAYUqJ2HT3An8ByEbsKpRICqJIiQEQLRJux8OEUnR me27Ghrnm8hWWcg4CjmgamlA++yfbwAiN+Wn+g4ZLjUOkn2/y5ocrfmwyYxDgfLhdPOs GHdS0QIFOPeACACwFTWSwFaAwAflseNR1CDIc/b+DiHHF47J9YRNhPaoVMAicsO71Say ydmTHfr0C9zwzDktDezCSWgWQwhN8NFDVekUiVlAFi9Rv+HuOqBduHw4ad0lrHq1oFOd TkjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si15813031iol.73.2021.06.15.09.35.04; Tue, 15 Jun 2021 09:35:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbhFOQez (ORCPT + 99 others); Tue, 15 Jun 2021 12:34:55 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:36911 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229734AbhFOQey (ORCPT ); Tue, 15 Jun 2021 12:34:54 -0400 X-UUID: 7af019e29ada4594b051c74a4168e1bd-20210616 X-UUID: 7af019e29ada4594b051c74a4168e1bd-20210616 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1676544734; Wed, 16 Jun 2021 00:32:46 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 16 Jun 2021 00:32:45 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 16 Jun 2021 00:32:45 +0800 From: Mark-PK Tsai To: CC: , , , , , , , , Subject: Re: [PATCH v2] recordmcount: Correct st_shndx handling Date: Wed, 16 Jun 2021 00:32:45 +0800 Message-ID: <20210615163245.26164-1-mark-pk.tsai@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210615114229.3b1f2c5f@oasis.local.home> References: <20210615114229.3b1f2c5f@oasis.local.home> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, 15 Jun 2021 14:47:20 +0800 > Mark-PK Tsai wrote: > > > One should only use st_shndx when >SHN_UNDEF and > SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. > > > > This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. > > > > Reported-by: Mark-PK Tsai > > Signed-off-by: Peter Zijlstra (Intel) > > Tested-by: Mark-PK Tsai > > Signed-off-by: Mark-PK Tsai > > Please explain the two signed-off-by's above. If you are just tweaking > Peter's original patch, please add at the start: > > From: Peter Zijlstra (Intel) > > And then just above your signed off by, add what you changed: > > Tested-by: Mark-PK Tsai > [ Changed something ] > Signed-off-by: Mark-PK Tsai > > But state what you changed. > > Thanks! > > -- Steve Sorry for messing up. I've fixed it in v3. Thanks for your comment.