Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp787794pxk; Thu, 1 Oct 2020 13:56:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRDtzCzb2Y/ROORbSnW3lwu2cmJKk9qANy75j+C320hlQF5Bg7xFSTJBM9/TZH6G46LJbN X-Received: by 2002:a05:6402:326:: with SMTP id q6mr10274710edw.216.1601585785979; Thu, 01 Oct 2020 13:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601585785; cv=none; d=google.com; s=arc-20160816; b=NSzfJ8e8DImDR6mLH8TSFzxp+n44O/sq8DjjDYDG3cgS75VkllNPZ9aSUxHs4KQVNB XbVHDg99D4dpmzYwySGzRuzNYcbWJYfMLSWqKX4gaN+GR7tz/Zn5FLTKIkfutqDAVyDz ay4Ui4CXflzx0aG7WiAqhD4CniZJq9rQDKtTe5zzv3MySTrMsoAdCDB5rIPANNAdd8rB fATv8THBbJOnsElix6YahaXyDzsxu/CKRtc1Z/XUUDDPBhnRRb6ioDIBBxJZgNLqJlX6 67nITLY0eNNtE/x95a2LlJT6a1Mwg8Px1BMCtv+1EvSSx2wi/3bItqURx3ZC/IE/JKGc 1OZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=pKNK6fKqvbqT6q9TZfYv1/mNvJ/pYnkIu3Sq6+7q+iI=; b=ElMFKGYjzlhMpGobUyJcXE238kihof4ynEflrnaEYeBiwg3LLsFvqNuSUZD7TLm1w+ DpXiqMjtgLYfx/uuweTVuj2hniHg9O3Mnf/cLm72pTnuzBr35MT9lBAI6iluij7/n7hk +gZOhhRqreIqOUpDJGlMzvPLLjsaUKKcxNJd4eoH02K1cKn+yMEJkL7lXDxPkmzgMzEX +Az5w+fRl+GcdE7j/+B6Yj67TEJjmlCUjCvoDEQSL7yrFsoc3y17R8//uiyz6P4Yjwl7 SRFvkq6IsXM56zIc0l/mOdk2c43AJOAg5Kt/ard8Ovf+Jq3hkVZLLhTmaaiieGgBLxWg MFjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="WLCTM/cD"; 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 r11si4463379eja.148.2020.10.01.13.56.03; Thu, 01 Oct 2020 13:56:25 -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=default header.b="WLCTM/cD"; 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 S1727143AbgJAUy4 (ORCPT + 99 others); Thu, 1 Oct 2020 16:54:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:44788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbgJAUy4 (ORCPT ); Thu, 1 Oct 2020 16:54:56 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8A52F20738; Thu, 1 Oct 2020 20:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601585695; bh=SjmdQT/xowg1GrQZByhxKNZm5Btq5Bqi/jfw9XlnQP4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WLCTM/cDciFV0g70Qi2DEeiebne3c1E03kClrfL9hPXhRh5qQMMyMxSrJvawYbhA4 KLaetytFp1AO/ABrSOIHlgGGDERI2Mq56Ee2EyNbnp8aXROdhLveJgfL5txuOne9Qu gfP9RFXQj2iC7aA/5ScMHra7r1vQwhWGVf4XVrIU= Date: Thu, 1 Oct 2020 13:54:54 -0700 From: Jakub Kicinski To: Moshe Shemesh Cc: "David S. Miller" , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 01/16] devlink: Change devlink_reload_supported() param type Message-ID: <20201001135454.668bafca@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1601560759-11030-2-git-send-email-moshe@mellanox.com> References: <1601560759-11030-1-git-send-email-moshe@mellanox.com> <1601560759-11030-2-git-send-email-moshe@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Oct 2020 16:59:04 +0300 Moshe Shemesh wrote: > Change devlink_reload_supported() function to get devlink_ops pointer > param instead of devlink pointer param. > This change will be used in the next patch to check if devlink reload is > supported before devlink instance is allocated. > > Signed-off-by: Moshe Shemesh Reviewed-by: Jakub Kicinski