Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp401945pxj; Fri, 11 Jun 2021 01:57:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN5YqdUXxNEEtI3T8/zZMkW7WiSCVgWZMYi57D7xJMiRMPQTKHnkbPIUvqQdU6UsRytBss X-Received: by 2002:aa7:c647:: with SMTP id z7mr2567010edr.224.1623401828421; Fri, 11 Jun 2021 01:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623401828; cv=none; d=google.com; s=arc-20160816; b=jUAfIrMA35/Gdw5/c3n8lnxiyGvO0ZvbDVm95N5khazKydsZPmT/pEIEnlk184km8I /4ra0v3OArlNGKWq3/Z62cNi4+UXv7oYh38lrMgEFKvxxcltNMmJ9qRe13u5zyEHRREO D3BkO3u9t96swKxtYpGEqJvjui7kB/l4DIIcaXk9wx6V8okW3opPJ1SxqijAbz8CJDIZ 0yjAz6nyatUXHcoFGP66c99A3wAu41iD2wni6lOBbO54SvPUXVgV6zgUIsM61tWpCMPI akwNPPnhGHKFpJ6hIdagatxmDbUnw7hwktE+ub5UIX3AbovQEe0lFusK3S7PV03I9rJp btqA== 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:dkim-signature; bh=Wvd73AyX2JOun98f3urRlMik+hqsHECfVfduUAEBsQ0=; b=alH88i+QYO0aqCyvPfJGmXt7+nNoyYgzsD7jgHbrJRPSBmnj9tzUZmeJHGkuBuexMo yjZV5h4JENLoKWy6oqjbZlLi3bxyN8dCshCIIlImktK/AnFyKRShLsdCKRL/bJrzmKB1 IUkRfp9Yl0Jk7mthp4Zk6KbmqKxQCx9v9g8gN00zUf4hlqxJNcAImzH0x21coWNt/YFS gI7gyiFdxEa3nDwsAGdWiJJJhPfFtcCdl9vji99yJ9pVhb5vInWrRx10ptth4NuCE3rD gR3kmu0tVuycmCbXTis+Tvmsx2U6s6whEqAYh8BTJi7JuAJ+/XoTVV/XvcYiaq3E6uAC bq+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XLjd4LMa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si4825955ejm.5.2021.06.11.01.56.45; Fri, 11 Jun 2021 01:57:08 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XLjd4LMa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231256AbhFKI52 (ORCPT + 99 others); Fri, 11 Jun 2021 04:57:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:59342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbhFKI5X (ORCPT ); Fri, 11 Jun 2021 04:57:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 86BC5613C3; Fri, 11 Jun 2021 08:55:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623401712; bh=7y3c2umdmrm7dYoTAKQg9HHAvb1xKES58xh/t9aHSFc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XLjd4LMalfNs+xA//zu0vrIAATcqKlsu4FqXkzmLeu4Ll7fGFkMDIlvuutcG0CKti 2w/nMLqlrL2afhv4ZSyD+xuu/onxDS44f7yghOkE7fA/RUcgDQyUIKcjPUvf8NeFBj ck2l3wjftJhFpmYNfYgIg4Kfqkq6ZsQrPr4McJes= Date: Fri, 11 Jun 2021 10:55:09 +0200 From: Greg KH To: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org, Bixuan Cui , Hulk Robot Subject: Re: [PATCH 1/9] nvmem: sprd: Add missing MODULE_DEVICE_TABLE Message-ID: References: <20210611083348.20170-1-srinivas.kandagatla@linaro.org> <20210611083348.20170-2-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210611083348.20170-2-srinivas.kandagatla@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 09:33:40AM +0100, Srinivas Kandagatla wrote: > From: Bixuan Cui > > This patch adds missing MODULE_DEVICE_TABLE definition which generates > correct modalias for automatic loading of this driver when it is built > as an external module. > > Fixes: 096030e7f449 ("nvmem: sprd: Add Spreadtrum SoCs eFuse support") > Reported-by: Hulk Robot > Signed-off-by: Bixuan Cui > Signed-off-by: Srinivas Kandagatla > --- > drivers/nvmem/sprd-efuse.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/nvmem/sprd-efuse.c b/drivers/nvmem/sprd-efuse.c > index 59523245db8a..5d394559edf2 100644 > --- a/drivers/nvmem/sprd-efuse.c > +++ b/drivers/nvmem/sprd-efuse.c > @@ -425,6 +425,7 @@ static const struct of_device_id sprd_efuse_of_match[] = { > { .compatible = "sprd,ums312-efuse", .data = &ums312_data }, > { } > }; > +MODULE_DEVICE_TABLE(of, sprd_efuse_of_match); Why is this needed? Do you have reports of this module not being properly auto-loaded? I have been rejecting these types of patches from the "Hulk Robot" as they were just blindly going through the tree and not determining if this actually is a thing that needed to be fixed. Also, if it is a real fix, shouldn't it also go to the stable kernel trees? If so, you didn't mark it as such :( thanks, greg k-h