Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1743398ima; Thu, 25 Oct 2018 04:20:24 -0700 (PDT) X-Google-Smtp-Source: AJdET5e9D4xtj9y8Axl/fDec2zDidHcBkSPwtc3HOBR865M9hO4+p+wmcfpaEWV+epAL1DxVtS9i X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr1138771pla.164.1540466424768; Thu, 25 Oct 2018 04:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540466424; cv=none; d=google.com; s=arc-20160816; b=NI8FvyWweGDg9FeuHdUEAYsFynyiWrrtcwrAor4s1UNUftDD/KqseZW5/xnPA90Nif o8k1+4OQTjStLjI/RzKIUGZgiLBPBoGJ0rwGxZDiHmMtXl03l96f188nNi6cYpybAK7R d95Oz7E9+TmXNqiW0HjahvjtRx8YztTYJd4faA7skS5pu1SS37llIzLFTbWwyG00lkP/ 9+cZYs3obI3srZ8e+jjLOMn7Cq/er6cn0zBQrIcMRRBRAeBiaI/sN0iU0BtFOXN+xDP3 CUlc9CvfOIX4TmxMca7Tih50AMzyMfbuQYjcp2EAh06VII2v+ybGuoaRm4YjJOGfFQDM qtIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0pQuybqbBvnNwsXOTAGuS0DG+GY4NTtpSJsTobw7y1A=; b=YoaOSUQR/Omvq42jlUcI4PMEaLnfDBZl6s1geaoccbsAkGqdNW+kBSAFTzwHdNB/o2 ro7GOXqeK2TyR46fwhbwNzKTYTH7O0bLpCg2LfjuSWUs5PFtpk6ggDUgs5FIivuiE4EU etfjQN2tOsowBn0QUEszU5eIZ464PSxudTajTVVR8wXzNmh63FiZWkX31fYnbONilun1 jfBW6FFl0aMl8qdcfyL9R304TqJEuFaa4VFv+/Nrk/UwaMOTr2z15lz5dWRgh2bpGchZ N4tDBkYfS1+4JfOXBniM+7W8IMiPW9NDP9F+yRhXi0H4NtS8TGa4JTs7vGd6tTb5Ub8T dvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HrXTww0b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z68-v6si8045288pfb.280.2018.10.25.04.20.07; Thu, 25 Oct 2018 04:20:24 -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=pass header.i=@linaro.org header.s=google header.b=HrXTww0b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727399AbeJYTun (ORCPT + 99 others); Thu, 25 Oct 2018 15:50:43 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:34287 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727261AbeJYTun (ORCPT ); Thu, 25 Oct 2018 15:50:43 -0400 Received: by mail-lf1-f65.google.com with SMTP id n26-v6so6477970lfl.1 for ; Thu, 25 Oct 2018 04:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0pQuybqbBvnNwsXOTAGuS0DG+GY4NTtpSJsTobw7y1A=; b=HrXTww0bn7i/k5CeqjEUgfGfT9585qcdQ0hRu747371HHH1if5UfDTXnJ++VfRWhdO ZDvWet6ztdLWKNu1ISFqmcsDR2EdN3UyOl19WG7JI0Q3dGKO0tUJfcsds62gGjoR9oQm PrJ5QvCM77/i+4lYKfs4kQmKR6YOpfLfmmBec= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0pQuybqbBvnNwsXOTAGuS0DG+GY4NTtpSJsTobw7y1A=; b=mZAKDzDD20OoKvfxu0HQZCENmr3O+Z6omNxbF8JDzMmY8CNRUpbqU2Bdbz0P0VblCh MfDOmXDmNwDlBMzwFANsnFir62e4cRq1H4EQlMsssqCeqs22ctx+FHOK2iDyXKBTthJL YGzL29FceCAkLKmhDUhtHrTkeP7pBWw7hgIBPvMsHLSLvZKbKqkeyDMOCIhc9Xnnd3yP dt6aEfPxz1RgCjzrgoibqiJr9KDzM+kFepz8ehKHYC4goFZt8paXk+WNIqZjJz7HYn3J C3V4HVGpdhoLAH7JcWGk+Sl1YMElIPWXcrjT75LR4Rrwi3yDDE7A50NtMGzJbQ3jp7Qt GHqg== X-Gm-Message-State: AGRZ1gK+JsYJ+VBKAM+3fWYW6V5iRdcXJcozOK0rzoIVBE18PUbLVwz5 jxNLuyvyawGhj0nT///D3xRMEIqPQ8tvon3YAlOUjZrtNpg= X-Received: by 2002:a19:9a0e:: with SMTP id c14-v6mr953477lfe.11.1540466301686; Thu, 25 Oct 2018 04:18:21 -0700 (PDT) MIME-Version: 1.0 References: <1540365564-30645-1-git-send-email-zhang.chunyan@linaro.org> In-Reply-To: <1540365564-30645-1-git-send-email-zhang.chunyan@linaro.org> From: Linus Walleij Date: Thu, 25 Oct 2018 13:18:09 +0200 Message-ID: Subject: Re: [PATCH] mmc: sdhci: Conver sdhci_allocate_bounce_buffer() to return void To: Chunyan Zhang Cc: Ulf Hansson , Adrian Hunter , "linux-kernel@vger.kernel.org" , Linux ARM , Lyra Zhang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 24, 2018 at 9:19 AM Chunyan Zhang wrote: > The function sdhci_allocate_bounce_buffer() always return zero at > present, so there's no need to have a return value, that will also make > error path easier. > > CC: Linus Walleij > Signed-off-by: Chunyan Zhang Good catch! Reviewed-by: Linus Walleij Yours, Linus Walleij