Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp353078pxv; Wed, 30 Jun 2021 23:00:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgNSe1QrcfNTVXFFj4R9sITHSqdE4JzOaXRNEXJRIy3rdOrN8TsHHWYgnjrEz0qCc9q1z4 X-Received: by 2002:a05:6402:3454:: with SMTP id l20mr6006193edc.89.1625119202172; Wed, 30 Jun 2021 23:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625119202; cv=none; d=google.com; s=arc-20160816; b=PHbN4DM9Th4W6UAvOaEr/tJyaC6fKnvy1aU+gUUmTlFu42x/zMmruzl2n5eZmw1WbH 9MsL9sS51XS/4NIEnNWq9l61VXxtX3RkomGyqSxWmT+AOif84IhkJilEDDKfA4lyuIwa /SD12NU56adtPjHf/hhAjZwG3f6sHOwra4/dATfxi26gvULw4LKVpfXHktz8F5gCGZm2 j7sW8+ak+r+3uLNbwWoc4Ge8sIIbo49IdH8RrwNYeAlL5++8+H0Aul567wLufKEPmVH7 EBwYBkGR5NBt9SGr5KrphyTXkGZik0fGWNh3Vu/TcIqzFz4L3IygO80uRdjtPd9eGatP Je6A== 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 :message-id:date:subject:cc:to:from; bh=5y5cr4Fqs+SkTY3Gqnm8gYku2j3I9RWgnZyGsn7QeUE=; b=z/VwE6sWEAY47UNY2blVFtqglsAWSSvtebAm0AnKB2LdG1lH1KWreYk0B3Rsqc1ugT /8b02Nc/8AD8wFAJetf5W8nVcR+agQCxDEX+yjJgk623iDw9XawXv+mhPjH0IN3TQjNd lWpaPfsN5nKCGJcmNDgJpmeQBme0uUeuI3p41F3KCYpZiimEfSMWhegpF1M1Gq56HEuP 1K/XU7BpfaxlfHGBTwez46eyHNM1RlHpog8HNK7uo8boRZIOOKBVVHAFKq1eSffsl5n4 ZgvQvnDWAJSMve8SNoMA+ehavl0aoSySQipxpIVLRh8hY4x3jxIYjafNTR5IIZpuwUbT b2Dw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id de47si21966350ejc.372.2021.06.30.22.59.38; Wed, 30 Jun 2021 23:00:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232797AbhGAGBB (ORCPT + 99 others); Thu, 1 Jul 2021 02:01:01 -0400 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:16435 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234271AbhGAGBA (ORCPT ); Thu, 1 Jul 2021 02:01:00 -0400 Received: from localhost.localdomain ([86.243.172.93]) by mwinf5d58 with ME id PhyS2500S21Fzsu03hyTkK; Thu, 01 Jul 2021 07:58:28 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Thu, 01 Jul 2021 07:58:28 +0200 X-ME-IP: 86.243.172.93 From: Christophe JAILLET To: csully@google.com, sagis@google.com, jonolson@google.com, davem@davemloft.net, kuba@kernel.org, awogbemila@google.com, willemb@google.com, yangchun@google.com, bcf@google.com, kuozhao@google.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/3] gve: Fixes and clean-up Date: Thu, 1 Jul 2021 07:58:25 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serie is part of the effort to axe the wrappers in include/linux/pci-dma-compat.h While looking at it, I spotted: - a resource leak in an error handling path (patch 1) - an error code that could be propagated. (patch 2) This patch could be ignored. It's only goal is to be more consistent with other drivers. These 2 paches are not related to the 'pci-dma-compat.h' stuff, which can be found in patch 3. Christophe JAILLET (3): gve: Fix an error handling path in 'gve_probe()' gve: Propagate error codes to caller gve: Simplify code and axe the use of a deprecated API drivers/net/ethernet/google/gve/gve_main.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) -- 2.30.2