Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp746143ybt; Wed, 8 Jul 2020 10:38:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp4XNROxWkWEaW8RUD3+QFxkLvw8mswvchPfg21cp4+XOS32hPTr2Q2qkBys5p2J/AEoEH X-Received: by 2002:a17:906:148a:: with SMTP id x10mr55920879ejc.497.1594229915710; Wed, 08 Jul 2020 10:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594229915; cv=none; d=google.com; s=arc-20160816; b=zNeLwJHIFtDLKi/ADbjyZR1prG7t5wtrB+kBM/Pjv8WsGI4nd5eFKva3mxLGg5+hkV ZOWX9l9y+KirfMBBDqmlnZltTS4WxBHcdgdEs/lbY7wUVg5rGGSDBHl8hnijBQL6AspR O3jDU3ioAOG8SZ66mZds/RqvG8UaNqpXq+iuffKNdilCzNXarN3CQgXhlQhSsa8WYTZB JtTZTPDCBQQUKfhGy/LWCDv7bgrYgB013x78QigACxaa35JtQvszoCMifRbASVhWUhX+ asR/LeaRRtS8d7xpJ5zT/L2ooKrX4fzChqc/0BsZwtw40SAKZOYZmKRMRQpjNhokChv3 dmoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=Ug8rdg5tUobUTnR9np1ElI2hSMcTtR8NmJZwvFej3gQ=; b=BqyhWfdRzL+VXztG0CBJTOBw+6pYjecAvn2pSjNIjL95co6kdj0ZfbBP+Gpk7lJKPi 6kxiNhIHN5Cl+pbwVqlgsgDHuCcduHzIOHwhICdiIUcvEub+dSfrlEfCx31GECZ8L1Lo Bic5f7y2tXqX/eXySygRQ43HwcS7Dc3GpyUvh4idJI17fgxK8WHl2A6rRSNgs7T3SsWy Lc94wr/VyuJi95kdSJC2XiAR1TEZ2WjqbOhQIllHBue1TYHckGMoasIIqN4BNdVw06dv xdTMPOM4dleF9iWUjgGNkZqG1nJbE1RduZf4jIewWrGoCcZcbfWAoV4OX+P7BIyhZRRr ZZ9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=S6bNQfOD; 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 c94si462877edf.589.2020.07.08.10.38.13; Wed, 08 Jul 2020 10:38:35 -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=S6bNQfOD; 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 S1730767AbgGHRAs (ORCPT + 99 others); Wed, 8 Jul 2020 13:00:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:37092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbgGHRAs (ORCPT ); Wed, 8 Jul 2020 13:00:48 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (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 3C87A207D0; Wed, 8 Jul 2020 17:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594227647; bh=1xdSfEui0pHtusS3nafiXh2nqd9RiHYsA1DNZtHS3jg=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=S6bNQfODgfdu7yrPOrPMpgtmChn10kaXQb6iyaCep/5Mzg+L4Oko6LARmsYTWjnYG YVr2T7nmnnosRo93afxtlzgmWk7PN8MTKwC2aV6GWdUqBhEPDqOtXxGCKig33NgRGl ygwaflTxd9fJBccrzidVqaPfOL82ky3I8xy3HrM4= Date: Wed, 08 Jul 2020 18:00:42 +0100 From: Mark Brown To: Peng Fan Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1594111842-9468-1-git-send-email-fanpeng@loongson.cn> References: <1594111842-9468-1-git-send-email-fanpeng@loongson.cn> Subject: Re: [PATCH] spi: atmel: No need to call spi_master_put() if spi_alloc_master() failed Message-Id: <159422764255.28955.1390293097777324594.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Jul 2020 16:50:42 +0800, Peng Fan wrote: > There is no need to call spi_master_put() if spi_alloc_master() > failed, it should return -ENOMEM directly. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: atmel: No need to call spi_master_put() if spi_alloc_master() failed commit: 2d9a744685bc3a4bf1d097782550c450ff0c3b04 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark