Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1528708ybd; Sun, 23 Jun 2019 09:38:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTWfdLgtvnwiihnUzEi9QLoPYT+BZ40KTt3k5DynzTJ7d6Hm3mCjeO4lFbK/IQ/DiDP92R X-Received: by 2002:a17:902:8546:: with SMTP id d6mr132193572plo.207.1561307939636; Sun, 23 Jun 2019 09:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561307939; cv=none; d=google.com; s=arc-20160816; b=aYplR/zi8MHkuR8W5TPN6hkRZE23smOtZ0MrKpwTmvxI4WFfPDayeYTnAAeOT/Sv0D nqOYbDyoamEZFG1Tg7Z34GrNbA4tSy+P8lftG/DzFillC4WuE/9xRSiffj8EH/odkPPo ui3Yw6SRBEO3NzUXVDk9HD6R86k9rD3VU15B/XoGK/PWu1NtaTFY3umQu68mlxRK2HHX xn/OZ6d9+Ua+jkSXc+jaloXGgBNb5h+NEh5d24YcKy96yeZbdnvMrjHEAc3xj5ezGpzm x9MPpC4kfjHxsubZkdIyL1vdNDL8gwKD75y8ne/AskY55wxrkPxU2/mb3k0QEX9kegon Ki9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=exulCdBjwG9VspV7/pDD1FxeVBdks736Hcn1a287YlM=; b=FKyYtm1TUbEYop8s0WGirY7YzlPf3/sRCCnGu6geiCEOZ5QrGXPd1QeZ/Mhztg9GJx +sScszJzitCL2/pXkLsXE108FNipAzNLOTeI22jVFnA36nzLlxf9d5v9pYFHv8tV8MOm 8Rq0dzDg+DhEX6Hp4zf/4UpwvcGesTDVtXnQKY6VDfAr30Q2I6PuAFuDLzvO3i29Mfym PQqkb6Ihyb6oT+rzpzPzBkqnFzg8u/Y+A1v997gyPIyIQlrFBlxk4F/3LTSyvnammYQy /Z3b8e9W62mVh2Vfuaryv30RtBvBehSpOjAUpvlI5vZuBiVjH09Rlvfix0yVZndXXPCT rIMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L43njXqu; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si8248613pli.12.2019.06.23.09.38.43; Sun, 23 Jun 2019 09:38:59 -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=@kernel.org header.s=default header.b=L43njXqu; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726722AbfFWQgw (ORCPT + 99 others); Sun, 23 Jun 2019 12:36:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:50012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbfFWQgw (ORCPT ); Sun, 23 Jun 2019 12:36:52 -0400 Received: from localhost (unknown [106.201.35.23]) (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 EC0EE206BA; Sun, 23 Jun 2019 16:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561307811; bh=bgRO7bREz2maqiR8ifkc3/2uY/Cw6hgv+ekC+zp5BUQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L43njXquan/oLhDPeB4YacVyIXbcPYNsqx1NqEpiLD9ayL0nXbOkGMDMPwPQ0t5lt JF2JD1SSggQkJycI3FsciabqRuih33k5Pp+ONI1y11fE3KRkwIm/leHZZc8oQB4Fx1 MXptBbdxfVq5dsHKkthHI7u8bqabI9geamVtlHPA= Date: Sun, 23 Jun 2019 22:03:42 +0530 From: Vinod Koul To: Christian Lamparter Cc: Mathias Nyman , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Bjorn Andersson , Christian Lamparter , Yoshihiro Shimoda , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/5] usb: xhci: add firmware loader for uPD720201 and uPD720202 w/o ROM Message-ID: <20190623163342.GR2962@vkoul-mobl> References: <20190621085913.8722-1-vkoul@kernel.org> <20190621085913.8722-2-vkoul@kernel.org> <1897697.zOhlaAKarQ@debian64> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1897697.zOhlaAKarQ@debian64> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-06-19, 21:59, Christian Lamparter wrote: > On Friday, June 21, 2019 10:59:09 AM CEST Vinod Koul wrote: > > + /* > > + * The Firmware's Data Format is describe in > > + * "6.3 Data Format" R19UH0078EJ0500 Rev.5.00 page 124 > > + */ > > + > > + /* "Each row is 8 bytes". => firmware size must be a multiple of 8. */ > > + if (length % 8 != 0) > > + dev_warn(&dev->dev, "firmware size is not a multiple of 8."); > > It doesn't look like this holds true for the newer K2026090.mem which > arguably fixes a lot of bugs over K2013080.mem. I think we should remove > this check and message. The documentation still says so, that is why I changed error return and this to warning. Yeah lets remove to not confuse folks :) -- ~Vinod