Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3359951ybt; Sat, 4 Jul 2020 14:40:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAipYdctYfBzFBOYa910HTw4hoWC0nlxoE6D+G0wqBqhqmDS1DMEP4cWsHTwAzmu2Bi0Zx X-Received: by 2002:a17:906:3c42:: with SMTP id i2mr39950824ejg.14.1593898851755; Sat, 04 Jul 2020 14:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593898851; cv=none; d=google.com; s=arc-20160816; b=VfgVB3gdFJx0TIPbszyaDsuH0z5kO74Bx1bsmB182aaEpmn1D7J71kJDdrSe7VVcZj tCx2JSKDEt7M3kn7uhuUbqQ03CptI5S7BGgeNGHd+Of19xnhsY/Mwnskqjze5Rrd7gXV Un6bSZRSMviq6Jxkyh6FDnR+bnDLJUKuVtB5sO/KzOdjgHstndiUrifRUUTDkP6y9/46 pcrKqRIXPCITTZ+cNWLHcQ1gCbSKNDtdCKfFKvL6lLI4YrVdOqdARFZnllosfdwKm1Kb YlIevpUUpeMDarGVUWIWym1ANeFipWUVo5T5vFz7FAmfONn2/63tfe3XF0RuqhfF+071 jZRg== 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=Gx+cgDLg9bWdeN2YnwpLPBrXIDJCNX8H1+rl425vCFY=; b=WxacNBkvxLcYH5w7Doo505CWRHEOz4y8cD06FdVOoPRqfSrv9iq+qdNdHZBjnjSmhf EbVX11ZRgJdnq5dYwzVDkYJnoDuprEXnc5AFfnyF7VaFpT+JhUe3xgckJpkwtlnEDcbG yxraprvC0NP9Cw5hHEwzUVeQeM6R1ke/8dDrAW3vLvAtiYWbP2T6O33TVwx8QlV0Vzdq CftK/tG60AyYNz1r4wiF6pp4KvwlhbqiP8L0WS880BlwQlkejw+BGmZZqNLNc4NKz7yK tmc2nmPA+XeVX8CGupO7/KvzOR86pWspqwiwHjgM7AFjDwj0UUKzGpgLrCq7C2CCR1XR XtRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t0U1cLZT; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 25si10092383ejx.187.2020.07.04.14.40.26; Sat, 04 Jul 2020 14:40:51 -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=@gmail.com header.s=20161025 header.b=t0U1cLZT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727835AbgGDVjb (ORCPT + 99 others); Sat, 4 Jul 2020 17:39:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbgGDVjb (ORCPT ); Sat, 4 Jul 2020 17:39:31 -0400 Received: from mail-oo1-xc42.google.com (mail-oo1-xc42.google.com [IPv6:2607:f8b0:4864:20::c42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4743EC061794 for ; Sat, 4 Jul 2020 14:39:31 -0700 (PDT) Received: by mail-oo1-xc42.google.com with SMTP id j1so1391366oof.1 for ; Sat, 04 Jul 2020 14:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Gx+cgDLg9bWdeN2YnwpLPBrXIDJCNX8H1+rl425vCFY=; b=t0U1cLZTfUGRi25QiAborBDtgEMWqjP64t8dPf5OUzo7LfG3omawEi8/kFFuMbr6Ph v4Dd08CLT6J9qmkXL4u+sce27VgdbweZq0XVlMA12n5lZkuiIr0/qLCHDlmBVpQXmAWL wwzn6EWqcZIoGkyVFiCai5BYA/aqXngVv21qFrO3LzQ3SJtUY8Z8FAVpa50rlhum8qLr afYdlEkr7wv5EaQPNpPsLtXSMlyjgNSZJXr8w+nzJbmKOiqMPBDlepS4aYZceyjDROUs TVLw082yIyBYIuDd7XWm8aObVpRbsbIIR3/Sl8pr670A9ScH6cpBzlQ+xAcSZAxHV9Ky YzkA== 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=Gx+cgDLg9bWdeN2YnwpLPBrXIDJCNX8H1+rl425vCFY=; b=sRdZBcNe008zv08+e0KqLgWl8kw1k+fCNlqiLTvHhJS/z4wmqdBQ4pvgvh9ADxdsEL g2OzbJcikQLycKM6RuiYulZcE/wAt9nZrkrMKd0KPB/SKAkCC6oLdG/GoCCut7xwH19b mtwb/779qYSp64jFMVksIRU7i5gUoLPkA0e4ourdEzMEmbj5Vf1+k1C+BDWwEXiu95xq 56crOF9oriDPyjvOcYgxz8tcDTkb9b2U0VE+qYAVnWvRxTMumMkOJATuCMe/QCEQbRGy ItS9sxRjEoCdT7HlCfntAR8cHu4Fo2KgaJA6TeezcGb3NQ5nsgo/KEmxU4WEI0vugisa xbUw== X-Gm-Message-State: AOAM531iZW93Qi2OQBDYYhkOBlLcLtZtyN9xwtNeG/sd3EEd00gbs1MP ePpmgia5sDUX/bBBKprg6mhQ2oNTObXKt0D0eSc= X-Received: by 2002:a4a:dfb5:: with SMTP id k21mr28490795ook.27.1593898770343; Sat, 04 Jul 2020 14:39:30 -0700 (PDT) MIME-Version: 1.0 References: <20200704195116.19669-1-oshpigelman@habana.ai> In-Reply-To: <20200704195116.19669-1-oshpigelman@habana.ai> From: Oded Gabbay Date: Sun, 5 Jul 2020 00:39:04 +0300 Message-ID: Subject: Re: [PATCH] habanalbas: rephrase error message To: Omer Shpigelman Cc: "Linux-Kernel@Vger. Kernel. Org" 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 Sat, Jul 4, 2020 at 10:51 PM Omer Shpigelman wrote: > > Rephrase F/W error message to make it more understandable to ordinary > users. > > Signed-off-by: Omer Shpigelman > --- > drivers/misc/habanalabs/firmware_if.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/misc/habanalabs/firmware_if.c b/drivers/misc/habanalabs/firmware_if.c > index baf790cf4b78..171baa2b56b0 100644 > --- a/drivers/misc/habanalabs/firmware_if.c > +++ b/drivers/misc/habanalabs/firmware_if.c > @@ -566,7 +566,8 @@ int hl_fw_init_cpu(struct hl_device *hdev, u32 cpu_boot_status_reg, > "Device reports FIT image is corrupted\n"); > else > dev_err(hdev->dev, > - "Device failed to load, %d\n", status); > + "Failed to load firmware to device, %d\n", > + status); > > rc = -EIO; > goto out; > -- > 2.17.1 > This patch is: Reviewed-by: Oded Gabbay