Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3927389yba; Tue, 23 Apr 2019 11:54:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQDagIfXKoTHb7Gw/vZ1cIn8TKgKLnvk1w0TNaS9RMfQx8Xhzvr+yPlGrCXevivtY01nLx X-Received: by 2002:a63:ad4b:: with SMTP id y11mr26504537pgo.405.1556045673515; Tue, 23 Apr 2019 11:54:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556045673; cv=none; d=google.com; s=arc-20160816; b=Z+s5NFOtXyp4plMf3I/W+/DUESzYGj/KRHjaW9nVxWcnM3h3BC9rqIhnXPs55cVfZi vFzJzXf2zpXsGeg3syJZzlgYYeTGYolRmVOEtMFa9bv8wT6SsHO0mGmGQdK/k/tn0L+P PsNTHdU57A7l6EENSweedswWlLQ5Tix13ed7XXSaIIPK90I96k9SvCrUN6cohnj9SLyq ZVXbaZa0g5In63KHnXd+h27V9LjPvEMVXqkvDCFDe/nl90PGJwu4pgfWn42+ky7xnV/6 beekUVfkmuB0CjvzBT7uMnNuplm8riCBF7gSg1fqH6O2acAj3/S7JgRwDiHrfKIv0cBL tIWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CnViQ3pzEzkWqDMWm+SyFKTLebDbvxQpQmxmU/b7Fp0=; b=jcoZt1u4B14PkfzgQAwU+b8NJvdy8WO6mGNiBovkxdCWkv+kENEvC1rWCuKBFm/5CM IJdn/OwXNgzbqM1C4RcDEOIxrUpv2uDcqz9OqSv+0UvIhFWXoML6IQU7qNyIJgx33wFO F74g75gIA/VY89/vNptI6ukUBXnopEOjAbnoXKl9Vfk6fcojyW/m1vAy5iO/Rp3m6Uh2 I6fZl7C1L8hPQMqfDy54FPzYfa93z64Rfai+hT67fSxMIDozExmGf8p9C6cFp+LjRC0J ALYXRvx6lGSuQOPPl3ESyQ6i2eLpZmuT+YwJPhUXa/nMILIqfayXlEtIFaEQcRVJIuU5 FOQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=XfaBAMF0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f127si16901667pfc.176.2019.04.23.11.54.17; Tue, 23 Apr 2019 11:54:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=XfaBAMF0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726165AbfDWSx1 (ORCPT + 99 others); Tue, 23 Apr 2019 14:53:27 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:41817 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbfDWSx1 (ORCPT ); Tue, 23 Apr 2019 14:53:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=CnViQ3pzEzkWqDMWm+SyFKTLebDbvxQpQmxmU/b7Fp0=; b=XfaBAMF08/NlaGBo1EzBjyyOBm MJgHchRZluWMVGbAyrNr6a3p/kZxzJidGMtsAp6cAK2TgyGW+ZAZLhAKvAWmlxIc5woyQio4jf0MF LwrMiP5mNW5VA+SsLCpTZDk6uw2FRCrB4qfDRoTf0y3w3rmTEqIDu4RxPIWOYeuAH3J8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hJ0Xi-0001gI-Hz; Tue, 23 Apr 2019 20:53:22 +0200 Date: Tue, 23 Apr 2019 20:53:22 +0200 From: Andrew Lunn To: Grygorii Strashko Cc: netdev@vger.kernel.org, Ilias Apalodimas , "David S . Miller" , Ivan Khoronzhuk , Florian Fainelli , Sekhar Nori , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Murali Karicheri Subject: Re: [PATCH net-next 16/19] net: ethernet: ti: cpsw: move common hw init code in separate func Message-ID: <20190423185322.GI28405@lunn.ch> References: <1556024950-20752-1-git-send-email-grygorii.strashko@ti.com> <1556024950-20752-17-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1556024950-20752-17-git-send-email-grygorii.strashko@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2019 at 04:09:07PM +0300, Grygorii Strashko wrote: > + ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, > + (u32 __force)ss_res->start + CPSW2_BD_OFFSET, > + descs_pool_size); Hi Grygorii Could you put it onto your TODO list to remove this nasty casting. Thanks Andrew