Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1493074pxb; Sun, 11 Apr 2021 22:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPwfmWeYk2qAQcDldovUAPxLt+4lbwrCtky2E1mTQljfIrTCNUvit8psQ6889hIJktsbyh X-Received: by 2002:a17:903:1cc:b029:e6:f37a:2185 with SMTP id e12-20020a17090301ccb02900e6f37a2185mr25071330plh.67.1618204108762; Sun, 11 Apr 2021 22:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618204108; cv=none; d=google.com; s=arc-20160816; b=qHowgoQLsId5d3Xy6gznntpidWlKpWLcjyzUWSrTWB3Tq1U6F4RH05IJDHTKH/M29E iJVgMcNlIRC1SEm4S+YakpY7iXNE/CL5RvX5J7xhamvLJ+fuOfCGaP8Oj3/Ce3N+Mbj9 0isNOKL4xU76J1Q8NOUfbpUSnA3/4mlzARukkRJYnFFRcUK1gLnTHCI/9CSA0NBHbmpB TI4KgKkOsWFvpBHgKj5TU4yaqCfwzU/2mrfzd0qjM6hx2ZrIFwE0lNG1sHm9uYa168AO 6kbxyoaX+oASMDtpMdP/X1CWpCV/S0HLxpN/xJ9fHgaW4iKmIzFD2goGIceHq4j3+r2j 1YQA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4h69nikMAhghy52gPEhLa6uftfFEqDidDpJBra5/QyU=; b=H9l6SeMy9r1RpUmxHuF5WaJ5aK699zJNcy77mGw+W1j+HcrMRpHY4s5gnUL+2YogVt xJg9XBpUlW1BrAQdGRiKJpw9uYfPHyCgxbdI4PgHp9p7ctNB8QZq7iyZxVHGU6bfbyqu x2n0PSY6cX07zDO3IVy63R8G9xgGtmGidDKYV8yN21/0O4PlS8RSnM+Hn41/GIUTazdh K7MpqdKHxIZriSozxpy3JSNA8vdBWzV1eUGOXohb1ZaJXilc5stdsgkT2GTmRWfNddOZ FZFdsmDjCy8koYH0oNDtJTfugj1WdvreKDivEVw3nhWv3hGQflee/DW4xlkB4OyYkpDq 4YRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u3pykSZJ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k5si12551878pll.392.2021.04.11.22.08.16; Sun, 11 Apr 2021 22:08:28 -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=@kernel.org header.s=k20201202 header.b=u3pykSZJ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230082AbhDLFF4 (ORCPT + 99 others); Mon, 12 Apr 2021 01:05:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:36654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbhDLFFz (ORCPT ); Mon, 12 Apr 2021 01:05:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 74E2E610C8; Mon, 12 Apr 2021 05:05:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618203938; bh=yeXv1VrFrrOxwBupLJbnw2n2xCQ5E67r16qIw0dYYSk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u3pykSZJ5Ssw7LwCjs0/vZ8En/M3f8VQiU94Ll1EgAJuG5SWYoc6eXG+E4v+yNC+F YgcEBg2U8qVllVAAWtNgMa9/ZJe+uiCFoLvr3Mb6EYxEBR+ALrNU0k4TBZ4XjZ5AiK X88gNl4T5UZeRlECUSClEzIa9MPECviXjRCfcdeYjoi67FP8ENW95kXdHpfMNUzNjh cuiUUMezLB5XKsH/MfzMmN0aH3kk4/U/ReX0mTfYEJbwsp3wCTkUrwUZJlRHR40CxR 5ovBHDVccc3MtdJoIfvd3t7OPPnHZJxWjDG2mtq5uIUeDJI2Of/GOyTqKMnhHoM2Kw /ZUzLI/CNokxw== Date: Mon, 12 Apr 2021 10:35:34 +0530 From: Vinod Koul To: Shixin Liu Cc: Kishon Vijay Abraham I , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] phy: ti: j721e-wiz: Add missing include linux/slab.h Message-ID: References: <20210408012829.432938-1-liushixin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210408012829.432938-1-liushixin2@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-04-21, 09:28, Shixin Liu wrote: > When compiling with CONFIG_PHY_J721E_WIZ, Hulk Robot reported: > > drivers/phy/ti/phy-j721e-wiz.c: In function ‘wiz_mux_clk_register’: > drivers/phy/ti/phy-j721e-wiz.c:659:17: error: implicit declaration of function ‘kzalloc’; did you mean ‘vzalloc’? [-Werror=implicit-function-declaration] > 659 | parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL); > | ^~~~~~~ > | vzalloc > drivers/phy/ti/phy-j721e-wiz.c:659:15: warning: assignment to ‘const char **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] > 659 | parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL); > | ^ > drivers/phy/ti/phy-j721e-wiz.c:697:2: error: implicit declaration of function ‘kfree’; did you mean ‘vfree’? [-Werror=implicit-function-declaration] > 697 | kfree(parent_names); > | ^~~~~ > | vfre Applied, thanks -- ~Vinod