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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7D4DEB64DD for ; Tue, 1 Aug 2023 23:42:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbjHAXmw (ORCPT ); Tue, 1 Aug 2023 19:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbjHAXmt (ORCPT ); Tue, 1 Aug 2023 19:42:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DE7E268E for ; Tue, 1 Aug 2023 16:42:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1F14861779 for ; Tue, 1 Aug 2023 23:42:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCDCDC433C8; Tue, 1 Aug 2023 23:42:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690933347; bh=z0fmdgzeuoBofNmQQG5TKdCgYOx55EJdXWUBZ5kbeUQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MyPQmhGyJhqdhOy1gTnoZUeiHQGBf/BZ6Lhs/RNyDwzX0pqQnwxFZavOb3fuBRGGD JA23Je9StEtBOlW5+W9EsEEzAiU1pLNLgNzDZrFLQ9zCRjU9rXVVosbM6bOD0FEaV2 ZGkg3OjuR9wVf4Uu+XNxFlUMwihPt7ELBGnUIjgaix9wGe8OfRrhYXDBavKrZNk6L3 1JkM3pt0CgaWootK5miPPEEAWmgTnZ4jBkUYCoQsy4qhrfH6+D/bpqEPiLjvp8UwZs 4N/BS58hWGt62As9/khpNr967iCcPG2B6+VZGAXFLRFxveR4LOWxDq/HM1S4HbxKDL viGmJoawal45g== Date: Wed, 2 Aug 2023 01:42:24 +0200 From: Andi Shyti To: Paul Cercueil Cc: Arnd Bergmann , Arnd Bergmann , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Stefano Garzarella , Christophe JAILLET , Feng Liu , Viresh Kumar , Jonathan Cameron , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Wolfram Sang Subject: Re: [PATCH] virtio: Remove PM #ifdef guards to fix i2c driver Message-ID: <20230801234224.e33sikkjug276ktt@intel.intel> References: <20230801105846.3708252-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Aug 02, 2023 at 01:06:47AM +0200, Paul Cercueil wrote: > Hi, > > Le mardi 01 août 2023 à 12:58 +0200, Arnd Bergmann a écrit : > > From: Arnd Bergmann > > > > A cleanup in the virtio i2c caused a build failure: > > > > drivers/i2c/busses/i2c-virtio.c:270:10: error: 'struct virtio_driver' > > has no member named 'freeze' > > drivers/i2c/busses/i2c-virtio.c:271:10: error: 'struct virtio_driver' > > has no member named 'restore' > > > > Change the structure definition to allow this cleanup to > > be applied everywhere. > > > > Fixes: 73d546c76235b ("i2c: virtio: Remove #ifdef guards for PM > > related functions") > > Signed-off-by: Arnd Bergmann > > Thanks, I didn't realize it was merged already. > > Reviewed-by: Paul Cercueil Actually this fix is taken from linux-next, it's not in Wolfram's branch, it's in mine. I can still force-push a fixed version in Paul's original patch in order to avoid breaking the bisectability. Andi