From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8573E224CE; Wed, 27 Mar 2024 03:24:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711509888; cv=none; b=g+Jhir92XJNeFkiNRmJE2rWhId+asD2jQsDP+KIhpZU6NIN5aKVJjxaZ6V6EMljCR6qpwMKVl8vZN8hY+br9E8Ha5zKzKXX7h4GdUoxScwt48g3Ltlu7fzNByIl+Ez3kAlkud3bgAF+xZCq40Pxr5c3J5BMi8k0MF+1TZmgjxAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711509888; c=relaxed/simple; bh=swRUZHqPSAsKm7MyUronTgrU3Z74pQl10GYnHPTJqgs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=O/Dquk20RMGNpUsnA37cKpuPzwnsagXflVjNvn3A6doabxAvWfou4nCZg3FgV4m/7+tx3N61FaDWpEHdNCNIRDR/ZtUof1T9Mhg9u6jiDU9pLHKP/Ly/rLAVfcWuBAjX01qGO4WRxGg6yYDbclWQigJGdk0T/Ep3GnAbWWy2f60= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SDWU+iQW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SDWU+iQW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9040FC433F1; Wed, 27 Mar 2024 03:24:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711509888; bh=swRUZHqPSAsKm7MyUronTgrU3Z74pQl10GYnHPTJqgs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SDWU+iQWknd4MzlIneS396FveeIUkY+T2YYUwQ3Tyye/yN6k9jEyS2N9czQaCrill P5LvgTSi7NrLrcjtz/B6qeJRzD/5WeRahq+cViGih42x5cPJ/Fz2QC54Q41mkXpLh+ VYk6Hp/tuY//j2mTseUXSIkfjMHlxc+rPrmICcGBUX/EorrFeuNoeNNxgnfM5MTOpq Udx4Ua3e9C00tKCceySUDpW1duQpSFbIgZuKv67IFL2UMzEYXj+lvW5w0xOmweTxW7 TjDnk5SClokhNiAkf2pLvHfg9uvUrAxJQezaeHxULgnPzcodXfhp6t42p31lijeLXk demyyvsilfIDw== Date: Tue, 26 Mar 2024 20:24:42 -0700 From: Jakub Kicinski To: Ratheesh Kannoth Cc: Nikita Kiryushin , Michael Chan , Pavan Chebbi , "David S. Miller" , Eric Dumazet , Paolo Abeni , "Rafael J. Wysocki" , , , , Michael Chan Subject: Re: [PATCH net-next v2] tg3: Remove residual error handling in tg3_suspend Message-ID: <20240326202442.6e80cf1a@kernel.org> In-Reply-To: <20240327024430.GA1370891@maili.marvell.com> References: <20240326183544.488242-1-kiryushin@ancud.ru> <20240327024430.GA1370891@maili.marvell.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 27 Mar 2024 08:14:30 +0530 Ratheesh Kannoth wrote: > > @@ -18090,7 +18090,6 @@ static int tg3_suspend(struct device *device) > > { > Please address Michael Chan's comment to make this function return type to "void" > instead of "int" It's used as a callback in SIMPLE_DEV_PM_OPS(), how would that work?