Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14484645pxu; Tue, 5 Jan 2021 02:53:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVQ1KgAHLD31fdjDLvPRTzo23HFfcmN+0HD43JDg5/ReWb0sSm3OQV/ekaqufk9SNwtEQD X-Received: by 2002:a50:f307:: with SMTP id p7mr74374795edm.368.1609844021496; Tue, 05 Jan 2021 02:53:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609844021; cv=none; d=google.com; s=arc-20160816; b=dpBHkTWpJOINNsE8IDo+AO32cuwXIZw92erGcQdPJ3+WtOxBZGZ292IzjpnAv0ovl8 QXiG7ZzzmmaqEgP1mq0SZ9G5k07q4GNphDI135D9auN7BaYNZUmgcmpI7r8k0ydrPrq0 XU/x7Zf5gw+eCD7WxecOf/kn3BRVEynAMo2bDMGS/+U5DMYRnzudJAm4mcLvs9IUALYF 8MEDX+RYYTIgEnze98ByPhCwMmoOU2KP0lcJgPb1RiPrBNi2eyTKNgMczS5jG7IXGe7N 6xibxRsfWzDYc75zG3b8qE9TNB+MZdHRlDBeRAfR4WOw91Tb7/l4JtzYAGQUUkY/yf6z 9rWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7Tz1JLHrQrY2WYTY/MXAJrmijhyCd2G0oJRwLQYlH1c=; b=pQnOn5uZFokZEktXgz6R8Ucm3iZ9ksLdCajVr4hyBC62PHZU312z44WkMaWO/35/EQ vxqeZbF5RNdStoU4VZXfEYTG6vSwMeralC1Yt/w1fZR05HJdk2jcMVjGE+iAahaFBqeL CiyplavhA/fA2DMDOae6IIviIpElei2g8MMUmgEl7bLAy8NiahqZuLkz0NjunkDRNA+k 6oL3zz3MezfCd15vhC5W8OmO6S3p7GIH40HstaeEVQY2UwRcTstITD7PA2Wsjv+uEN/d 3L74emEJTHN5YPj5Uk8yCzhYVta0lMfa/CaDneXSMx6RQ73Zxgh/9nxiUIBxV4tM5unW XByw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si32998024edy.255.2021.01.05.02.53.21; Tue, 05 Jan 2021 02:53:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729210AbhAEKuI (ORCPT + 99 others); Tue, 5 Jan 2021 05:50:08 -0500 Received: from foss.arm.com ([217.140.110.172]:52536 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729103AbhAEKuI (ORCPT ); Tue, 5 Jan 2021 05:50:08 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 39E871FB; Tue, 5 Jan 2021 02:49:22 -0800 (PST) Received: from e107158-lin (unknown [10.1.194.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F50B3F70D; Tue, 5 Jan 2021 02:49:21 -0800 (PST) Date: Tue, 5 Jan 2021 10:49:18 +0000 From: Qais Yousef To: Jiri Olsa Cc: Herbert Xu , "David S. Miller" , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-crypto@vger.kernel.org, Andrii Nakryiko , Eric Biggers Subject: Re: [PATCH] crypto: Rename struct device_private to bcm_device_private Message-ID: <20210105104918.h774oukd23ve5m3v@e107158-lin> References: <20210104230237.916064-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210104230237.916064-1-jolsa@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 01/05/21 00:02, Jiri Olsa wrote: > Renaming 'struct device_private' to 'struct bcm_device_private', > because it clashes with 'struct device_private' from > 'drivers/base/base.h'. > > While it's not a functional problem, it's causing two distinct > type hierarchies in BTF data. It also breaks build with options: > CONFIG_DEBUG_INFO_BTF=y > CONFIG_CRYPTO_DEV_BCM_SPU=y > > as reported by Qais Yousef [1]. > > [1] https://lore.kernel.org/lkml/20201229151352.6hzmjvu3qh6p2qgg@e107158-lin/ > Signed-off-by: Jiri Olsa > --- > drivers/crypto/bcm/cipher.c | 2 +- > drivers/crypto/bcm/cipher.h | 4 ++-- > drivers/crypto/bcm/util.c | 2 +- > 3 files changed, 4 insertions(+), 4 deletions(-) FWIW, I did reproduce this on v5.9 and v5.10 kernels too, worth adding a fixes tag for stable to pick it up? v5.8 built fine when I tried. Anyway, the patch looks good to me, thanks for the fix! Tested-by: Qais Yousef Cheers -- Qais Yousef