Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp686671rdb; Tue, 5 Dec 2023 17:48:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGv9krY2u8mmPXzxugD1gFD6HlSQesFHdiOjFhz5xQCdw/oNAXx9rW46O6CAaM0dyPYroPk X-Received: by 2002:a05:6a20:7f98:b0:18f:97c:8a33 with SMTP id d24-20020a056a207f9800b0018f097c8a33mr175405pzj.94.1701827287878; Tue, 05 Dec 2023 17:48:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701827287; cv=none; d=google.com; s=arc-20160816; b=lGWvOmiV1PFAMPx54dkO74zSDLxNLnYnEma9umVbnrExkScOyLlQyy2ZE7w5S6zfvG TaxV0pwILI+0oBhC72+cfU7GaxSqjKIAU8vFTT/xwXepGb7SNse5R9rOjAvE+gVCa2G3 0DmPqhhr2kZLmnnMVKCbMTfQlA0GhaDfQoAX/AxLBtFZOvtYdVs9T3eWdC2+Eqg6awJq I3dDsBjpBgy98WZH50sJDXk42pyLfETUZFqUOHkfiMaifp2W4kRGyZiexgbqZQJZb0qO DiHHQXGkw/ttct+kk/ZrezG6XB8UWXO84cchIzJGbsmBIgmkb98FR1wrwy41ctgqUab3 1h7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QygHWcQ3xWSdOZFDYU7Z3l6Q5N7kQ1VPysfS+vw8Z+k=; fh=Y8TvjBh4t4MlI8e7+tzk4KMPauQIQ9g4mjaVLG9xqYw=; b=vJu9/BBFcbHpMFMpxYYQAOKQdiHB/yH1lDs5YEMHk9cxtH5vgEslF+/BLW8x67PHQS FrVR8e9SkFdWcI5//rchZXIaMBSwGbwFEumpPHgzNm4lL/2qzQpK5SAHkU7ftt8jIa4/ tEdKjx1mUK12nS13WxB8odgKUt698DaxsQQojnfkprIRwpCGDnPQyjb8U1Lrd2uiaWAx sjNtjBcCo+VBiWP/qI87ZeshBBW1nDe5J2aK1xtdFKnRPJS7gSq631x0iyKNFXoG4hPR h/gIGgI4buctkETPP8V5dtwwI3YaoaKWZETbvLgkvgUOlW/6aCN2u5q2vY4PUh+x7g7w LgIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fewuHwMf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id x36-20020a056a0018a400b006ce6d618505si295200pfh.166.2023.12.05.17.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 17:48:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fewuHwMf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5B1AD80310F8; Tue, 5 Dec 2023 17:48:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235622AbjLFBrx (ORCPT + 99 others); Tue, 5 Dec 2023 20:47:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235614AbjLFBre (ORCPT ); Tue, 5 Dec 2023 20:47:34 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62CD1D5B for ; Tue, 5 Dec 2023 17:47:28 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21887C433C7; Wed, 6 Dec 2023 01:47:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701827248; bh=m3OXxxaNOcCbca66NX0B9W3SqJV3ZbMjQp5zBskM9iI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fewuHwMfF7zXS1KUN/yTlis/ON6ZzuoLEyVFUGPZ9e0JM1b5qkBEecx3SbLP+A37V a/zKC02fLbBZZPpc0mgpq429kLVSQFKqQEsqzFL93X3zu5IVKo/cKFbVkKTZJd5Q1S I2L71pZtRcUtVBwYOwdNraE0eqvY23jcqGWw4uVgmSE4wIEU4KSlFMWwupnyQK8GbX qDztWGvvIwum5XxJAv2Io7HNrLcPdOjpN2LdpuMlMWWURAu3XVrGheH3uoeun4M6ab Zotz94GIIYhaQu02K5yIPlbabSBak30TMDqUN3ctur3BFI+PwiYxSktdXmpiWbeWJJ 49ab9W3qz4atQ== Date: Wed, 6 Dec 2023 02:47:14 +0100 From: Andi Shyti To: Christophe Leroy Cc: Jochen Friedrich , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-i2c@vger.kernel.org, kernel test robot Subject: Re: [PATCH] i2c: cpm: Fix data type Message-ID: <20231206014714.etrj4ecnt4tln5ev@zenone.zhora.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 05 Dec 2023 17:48:05 -0800 (PST) Hi Christophe, On Tue, Dec 05, 2023 at 07:16:53PM +0100, Christophe Leroy wrote: > sparse reports an error on some data that gets converted from be32. > > That's because that data is typed u32 instead of __be32. > > Fix it. the reason for this sparse error is that the data variables is then parsed with a be32_to_cpup() and I think that's not necessary. I think the real fix here is to not use be32_to_cpup(). Andi