From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC110C433F5 for ; Sat, 9 Oct 2021 01:39:02 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 377C960EE7 for ; Sat, 9 Oct 2021 01:39:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 377C960EE7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA5EC83658; Sat, 9 Oct 2021 03:38:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="SPFAeiVN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F8D283623; Sat, 9 Oct 2021 03:38:36 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CE99083647 for ; Sat, 9 Oct 2021 03:38:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72b.google.com with SMTP id z40so9905356qko.7 for ; Fri, 08 Oct 2021 18:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ml7brDiW7acB90qUtqNP/3QOYTuPFSVgxYsfyioYGus=; b=SPFAeiVNxuigqef4vDw0Cagk9RmjLCc68dZPc4ceJ+cQJ5y+PUtAai5IM8IVE1jRQj 9JdCX2rQrI9xYgtBmgJ7wNf11aCA9d3MJT96NfTn3rnSEUzDoIXtj9w04/PbUjSMXSCO Vpb1unRxocICx4YOGqZ51tPjhDRabGq6U0ggc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ml7brDiW7acB90qUtqNP/3QOYTuPFSVgxYsfyioYGus=; b=u7r1dI+YhBfgN9LzClOzYmp2WAMhVtK+A4QblgyhwMTma3fAYTU9Lab6fpGNaeMyGZ ladAtUCFing0LIebHh8z/gITh0nKNrqvh+A9Pl5oSB23/PPX926OtswStxC8g8X1FXsS Jfu2XC0ydlL0icj1iwMLQQhJRn2OqC3Xter+/TBmGXPEGsisTxq88GKys88/Yg29cdkL p18fzH4rMbtt8xQeTZaz0IgxhejvdWKQsamTBHdEpTE87J2GiN9RysHKx6In1YiKqt82 RAA6zIkTnwgsI+vEDJKAUlM1qBGk/ZVCPRj8Urglmy6GXpkpIfP94721Klx1LyXuAPHr lc6w== X-Gm-Message-State: AOAM5309EjzqGIjkioXt3y58jiItBlkuhl7h9LKQaU9pdIm3A/Jl1uVw rfToV/mlF4Up1LJmQEaG1jyb6Q== X-Google-Smtp-Source: ABdhPJyPjJkOBnvY4LUffObeUkefQvtj0e+Fxvx6JRteYZF2nlByRDntePxxpp4F/k+f/fwQAOsm6w== X-Received: by 2002:a37:8242:: with SMTP id e63mr5903461qkd.294.1633743508599; Fri, 08 Oct 2021 18:38:28 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-1c00-ef41-79c3-ef5b.res6.spectrum.com. [2603:6081:7b01:cbda:1c00:ef41:79c3:ef5b]) by smtp.gmail.com with ESMTPSA id l12sm692404qtq.57.2021.10.08.18.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:38:28 -0700 (PDT) Date: Fri, 8 Oct 2021 21:38:26 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , Alexandru Gagniuc , Bin Meng , Joe Hershberger , Marek Vasut Subject: Re: [PATCH v4 06/15] image: Avoid switch default in image_decomp() Message-ID: <20211009013826.GF7964@bill-the-cat> References: <20210925130320.7824-1-sjg@chromium.org> <20210925070255.v4.6.Ieb772c007c48b64bcd9e162f57191522edf964ba@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ChQOR20MqfxkMJg9" Content-Disposition: inline In-Reply-To: <20210925070255.v4.6.Ieb772c007c48b64bcd9e162f57191522edf964ba@changeid> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --ChQOR20MqfxkMJg9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:03:11AM -0600, Simon Glass wrote: > At present this function is full of preprocessor macros. Adjust it to > check for an unsupported algorithm after the switch(). This will allow > us to drop the macros. >=20 > Fix up the return-value path and an extra blank line while we are here. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --ChQOR20MqfxkMJg9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg8pIACgkQFHw5/5Y0 tyzwogv7B0e0U9cLPt5ADJ+ez59aJ/WYrqKfXrAO8OYgThkF9kVFjY7QVxNGNcB7 iBGL1qDeKuvvOPBgcECU491+JKUFTAxXWM25Bq9MZE90PFodx6N/lTpdtNtRi+HE DtsNiXh8v1CX0uxfcdmvxxsgQXliBVKDuTtNIsVmUPUjUzrKFZ+2ubT1GygAYM73 YXBDdSJLWfGETxFRG0+Xa+d+dp68Ya0gqbcLElbI54X0WmT9zd2eM/OcG7b3Z5QS HX1ivqHCyZsnYbafDIn5bZ0ZxILRhJh7WLqPeG/tTYxdFZomTAWniJ/KSK+E2vmW hidePBvt9e1E9R5oTzlSCKyERLui7oGdy8ElDkmpHEgphOE2LBYpONoYT9bF0BnU whcPtSGl9Wjifni8qvzKim5lXT4cv9KTfuqtVq0QiN5zxIPSwJfTIJL2+e+5X8kT 5WcG8fSZeUzS8BlE3O0XW/SChR04FENf0wM4ERoBCcaLTue8iK76yME0PBi4BS+D WpSx+BBa =eqgf -----END PGP SIGNATURE----- --ChQOR20MqfxkMJg9--