Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1442915pxy; Mon, 2 Aug 2021 01:28:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLWXtwEme4GUT+E4M1KLkB/gmGvdxdR7BJgUJDwG/iLySkqF8nx0PIi3Obt/lta7HOtLGD X-Received: by 2002:a92:6711:: with SMTP id b17mr395129ilc.122.1627892920096; Mon, 02 Aug 2021 01:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627892920; cv=none; d=google.com; s=arc-20160816; b=ZlfUyi2KlmLDW/EV39WanJ3hdBydeTSYpS17W/vrqGL2+DViYbUhZZ+oxwzkqGu657 o2jJGjLz0UGuGfhoGIeEw0+phGLrcfPiUJsFfbTem+TeymHJeBpspyctbpiGLkU+Km1Z TsEH/5Tsd9Xv7CdB0sYe9xdmCg3QKxP7/2l++87gNK4CBlj6kUTlhbTYZevgsds10wW/ kb7msjGlcJjzLlIPNjyWaF3+IGiP3NvN+0wpcvRfSLFUz3paK3Ic6vtcjgL+C4gFeTyp rHjMXzpIUFJP1fyYVztkDOcsUHOp6H2ahRHv07xE/ZnwIc8tS7d2omBHxo8F2EhVRqPi 9ZYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:in-reply-to:date:subject :cc:to:from:user-agent:references:dkim-signature; bh=1InNUDCT6g/yShFSOepxpSJetSL3hB6f7s7DC5BxHEM=; b=WeEh0Crd6lA2CMPoiQfCS0adFJtg0MgODrRhOQRA4EBrNeDZyaUfsrYyaLnsp4xCP0 xNeycpyQ+MelqRfwfA2sPOqBwaCOobbjKHQRsohuva6nD1CWF1jYxU5LoI7N8aHNURQz u1IxIpb1Frkq4UdPXXBkIpQlZKIXUocKw0nMEnYfqdrlnLptMNf5YDP/t/LjaIarxhUr YQoV5IIndIOxUI2TKEeWEQHcQIDRP7CwL0SoIrBn0Tr7OKbHKd84TFD+F1n6DLpixUTh h4b1mHyQG5QCt/CJVszkVEIttLKPLum+P7Bk6r/rlnniYFuvrvKgSPp398aDTk+oXPYD +hbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fpoyIdte; 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 h28si13108881ioz.12.2021.08.02.01.28.29; Mon, 02 Aug 2021 01:28:40 -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=k20201202 header.b=fpoyIdte; 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 S232726AbhHBI1e (ORCPT + 99 others); Mon, 2 Aug 2021 04:27:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:40602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232656AbhHBI1d (ORCPT ); Mon, 2 Aug 2021 04:27:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 659E261057; Mon, 2 Aug 2021 08:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627892844; bh=XGSf0Q2b9xJVK/A4yp1rTziqZAcP1MUIQ1F6Vv40gpc=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=fpoyIdteEGyBEqTxCBoxuEO2MZaDU5G05LwVpUbAUPBECxHH3LCLyZChnUz36BYyu cDoaHquy6XL5tqNFo9hALgObFAuUAPA+56+w0TFhPljDwcBvWVPJUzKehGSrlR8Z8W yJAB95FlvVLTb8qpaVK/oxqaKtH7SXeIK+gQ2mY6sjb1xS0F43fuj63ovmFYbnr8G3 E1PD6mN27VCE1uMvLcWLdAhIcPZijx3cs2n7PdDg/J60+UFxtdBo3pfOYQUtQkdcjW mzeufP19hbZU9JC22lp4pylwP1k0/17DA19Fii6rRKdJZzsW5OsLCJmxiUdwS1VfaV wYUBF+oBUUpog== References: <20210731171838.GA912463@pc> User-agent: mu4e 1.6.0; emacs 27.2 From: Felipe Balbi To: Salah Triki Cc: Greg Kroah-Hartman , Peter Chen , Jack Pham , Wesley Cheng , kernel test robot , "Gustavo A. R. Silva" , Dean Anderson , Andrew Gabbasov , Vamsi Krishna Samavedam , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: gadget: remove useless cast Date: Mon, 02 Aug 2021 11:26:54 +0300 In-reply-to: <20210731171838.GA912463@pc> Message-ID: <877dh4s13r.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Salah Triki writes: > Remove the cast done by ERR_PTR() and PTR_ERR() since data is of type char > * and fss_prepare_buffer() should returns a value of this type. > > Signed-off-by: Salah Triki Acked-by: Felipe Balbi -- balbi