Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp395927pxt; Thu, 5 Aug 2021 02:21:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoJ2LChuxPhvkPRlyLViZGNQfnAHCZCyEB1H5SC5Jp1Yf3bTH4giFDsAGPSJfzmx5rqoVR X-Received: by 2002:a05:6402:35cf:: with SMTP id z15mr5341834edc.27.1628155277071; Thu, 05 Aug 2021 02:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628155277; cv=none; d=google.com; s=arc-20160816; b=qY6GhKRz1G4/fLojr/1q6ad+lJnISUx86kB7ERJiYK9xgF/uCVCIQop32SZdcJVx3c Pm/utn/oPsf9Dbvbaz1fwdKi9EaC0rnTB2CMIlD9aLAbFZ9F8KHbwpdQHMP0KLHVuv0g Q8vde/YeGjAn3mmCMWKPksVyyCJmCp7ZCxf9w0ivGkVORbr1e11dweHzf+0lFcxb4Mi3 HP1SLh4iP+EWbtHGX7L2c3beDIjTd5pMNfjiN1udODOouYfDwFJzYArDFjfLsD9Op6xN h4O/Y4q8VORqZcqfI4X5VNC7hcsWQqy7GJVYV51udJR4L2PlUjs27eARytiRaaONBE2T HKvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4uLXn1AGtC/+MfcLgiyTSI/T9I40ie2kMxk/wKlyuPw=; b=w5m/F2N16KScpeFHUNy43Ew97kFS1xQg4CBDxqYzKVVkD492vIlx4uqc0vJQsL35nM hBAri34p0bKcpZxMlWK9Vqsk9Z39azZRFy2RC9G5BfFPboWItLbPDzSoMOArpL7+4pvE 3keBhHtsdVK/EHX9bnvQdwS7omTBwxy1+R8ixdtNCrEzmbh+yG8J7zlFV9+5cKoocZCC V5n/x9RXa+4pdFVVooY0Q936d+PBRP4Drh4/RpP1IlVW0S9+IjjdK+KqNLv1FUtyrBPR ddiaq+ieSRQl3pzoVRw9GrjNumbwRR3qGGj/CEfCeRVDQmmQmpoxF55mVBVJM6NDO3P8 Ijhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k7XnMiTF; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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. [23.128.96.18]) by mx.google.com with ESMTP id cw8si4821409edb.20.2021.08.05.02.20.52; Thu, 05 Aug 2021 02:21:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@linaro.org header.s=google header.b=k7XnMiTF; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S239988AbhHEJSV (ORCPT + 99 others); Thu, 5 Aug 2021 05:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239957AbhHEJST (ORCPT ); Thu, 5 Aug 2021 05:18:19 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5ED8C061765 for ; Thu, 5 Aug 2021 02:18:04 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id z2so9807862lft.1 for ; Thu, 05 Aug 2021 02:18:04 -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:content-transfer-encoding; bh=4uLXn1AGtC/+MfcLgiyTSI/T9I40ie2kMxk/wKlyuPw=; b=k7XnMiTF7VyVC+yB8C3p7B3wtRyHrB/mEIJFIdGcPgk6uCuLxgicTTaekDqJr20aoK vrvzNK9b16scOqPJO1e3KivprKsRFi2s0YaXnoAFlLqZjhQvD7MHhQws2InhJz7NeUIo 1Tc+aNzckUCbqJXByRvvrT0KtIweizo0QumEZSCKioGBf6IxINArlxqdcxbnWoWD/uRm 6NXogGfL25sYjqMITbT8zorcYkuxFF8falI0Wc1M0aVXG1CCuCuY69SA+WmjP4SF202W H8nFP7R0YKO/Pl0YrOt6S2dq27j2Q20dxoYFcEYrBpUth0kIrPh08NYjU+OPNVaBuNkG zg8w== 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:content-transfer-encoding; bh=4uLXn1AGtC/+MfcLgiyTSI/T9I40ie2kMxk/wKlyuPw=; b=tIrm0gdaG5VEqBuWeYEwsFnLehz9mRusp5+v/prXB3wnygoKC6aS1AiTW89bpk1yLM mSEp91LZ/w5l7oWqFJ4gEG8KenQb5qwtIKM5rSMrVZzUQyznCIjrqkVXwRlOCAtr4Zi8 hzpfog2UYgkqoLwtpqFEBOOYzbyjxajxET6mln3jkhf8DMpXaYXbabxYQ4vArwdSKfn8 lxUNdtTU4u1em1ERtGDubis2knlzZTtTOHUaWzyxKAcZxs5zGMHbkAD9CL7OPQN2/mX2 N7Tgw019jTT+3wlX9suhQIDj8z5ti7IBUkSmZ/Kicdqiu/uoBHSuszILHL47pMnlT12P VqnQ== X-Gm-Message-State: AOAM533vc+Xwgf9UVr0xnGzbcJbDoUBjUJsCRiThQ+ETggZVgfYozdmc 0l/9YZj0VjEunWmC7uPNoyDooCTuswjREFYYSTvHaA== X-Received: by 2002:ac2:4c4c:: with SMTP id o12mr2844915lfk.157.1628155083038; Thu, 05 Aug 2021 02:18:03 -0700 (PDT) MIME-Version: 1.0 References: <20210804153434.3429348-1-linus.walleij@linaro.org> <74e24409-aeb2-5297-6888-7af2b1126ccd@gmail.com> In-Reply-To: <74e24409-aeb2-5297-6888-7af2b1126ccd@gmail.com> From: Linus Walleij Date: Thu, 5 Aug 2021 11:17:51 +0200 Message-ID: Subject: Re: [PATCH v2] brcmfmac: firmware: Fix firmware loading To: Dmitry Osipenko Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Chi-hsien Lin , Wright Feng , Chung-hsien Hsu , Kalle Valo , linux-wireless , Stefan Hansson , Arend van Spriel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, Aug 5, 2021 at 3:35 AM Dmitry Osipenko wrote: > 04.08.2021 18:34, Linus Walleij =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > + bool tested_board_variant; > > What about s/tested/tried/? OK that is clearer, I fix! > > -static void brcmf_fw_request_done(const struct firmware *fw, void *ctx= ) > > +static void brcmf_fw_request_done_first(const struct firmware *fw, voi= d *ctx) > > Is it really worthwhile to rename this function? There is no "done_second= ". It is to reflect the actual use, because it fooled me as it could be interpreted (intuitively) as "this is called when all firmware requests are done" since it doesn't specify. But that is not the case, it is only called when done with the first first firmware in the list. Hence the name change. The philosophy is in line with Rusty Russell's API design hierarchy: http://sweng.the-davies.net/Home/rustys-api-design-manifesto Yours, Linus Walleij