From patchwork Wed Aug 23 09:01:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Klaus Jensen X-Patchwork-Id: 1824559 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=irrelevant.dk header.i=@irrelevant.dk header.a=rsa-sha256 header.s=fm3 header.b=u5gWEm5A; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=QP8A5wVu; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RW0cb25Xdz1yg8 for ; Wed, 23 Aug 2023 19:03:27 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYjl0-00072O-O5; Wed, 23 Aug 2023 05:02:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYjkj-0006lu-RV for qemu-devel@nongnu.org; Wed, 23 Aug 2023 05:02:15 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYjke-0001hG-Cb for qemu-devel@nongnu.org; Wed, 23 Aug 2023 05:02:10 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id D32545C00BC; Wed, 23 Aug 2023 05:02:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 23 Aug 2023 05:02:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm3; t=1692781326; x=1692867726; bh=SWryM8qJbSZUbBEaPcvF4vOpv h+S9bV29xIlr2wRCEI=; b=u5gWEm5AtlhJ+79q9lj00Jpjr6Mgf9sxBkWS7Tbyi hVcMpitAuDrXPwBEpXIp6QFTMnPmXAgsCv1G7EcX3Jwufu2nLlHkOqwfDgWE3BDj wAjkxHQfWeVKxPrgHPw/L52RmyFqTw/79dRQbjDtZOUVX3LJE/GwgsL1uuP3eYdy 3HK3Yt5rmO6McY80qOtj85Swg+1fKXGT4eEsPcWTIjr5Hg1DllD3TrzeJ+r3NPEw +p1RTSO/NQKoEU6CKISmu3gERNiAQDdQ5DGqDQmI3ujZw4fh28bjpQnDNxSE1QF+ P/ku/leEQQayeIgdyDPhaHZ8T9bSmq09/c85IAUUx/SJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692781326; x=1692867726; bh=SWryM8qJbSZUbBEaPcvF4vOpvh+S9bV29xI lr2wRCEI=; b=QP8A5wVuGdouMxFhc//TEHXOMo5yaLGXVp138iS5mnOAnOy55Uk PIMWu8yaKXlce062jjsTEKS8RbLRJh7xsCCBWmVN47htIAUbvnGtK3sKT2Al4CVW FQpafBRXT/srw886KKtbQ8pfUmtD/zxsASLwyjNkQDV7Pn/fQYyLs//AeJPnKMFK A67BSuBoIPfBRmUJFWCa0SgDp64TzvBoNX9TkUxMg26T6Vx7S13/L4EHPCC1Ddzc 8Wk8H1OkxRtTrqzRRylOUrwv9T7ofP2IJAMazSaeEwQa+q5bU+IFifHq38TibPAX Tv5mu67m8Yg/tceVk4xcXQyG7gG5ngcQIZQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvgedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpefmlhgr uhhsucflvghnshgvnhcuoehithhssehirhhrvghlvghvrghnthdrughkqeenucggtffrrg htthgvrhhnpeekiedvtdeuhefffedutdelfeekhfeitddtudevgefgffeiteevfffhhefg gefhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hithhssehirhhrvghlvghvrghnthdrughk X-ME-Proxy: Feedback-ID: idc91472f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 05:02:05 -0400 (EDT) From: Klaus Jensen Date: Wed, 23 Aug 2023 11:01:45 +0200 Subject: [PATCH v2 1/2] hw/misc/i2c-echo: add copyright/license note MIME-Version: 1.0 Message-Id: <20230823-i2c-echo-fixes-v2-1-ff404db1bf99@samsung.com> References: <20230823-i2c-echo-fixes-v2-0-ff404db1bf99@samsung.com> In-Reply-To: <20230823-i2c-echo-fixes-v2-0-ff404db1bf99@samsung.com> To: Thomas Huth Cc: Paolo Bonzini , qemu-devel@nongnu.org, Peter Maydell , Joel Stanley , Andrew Jeffery , =?utf-8?q?C=C3=A9dric_Le_Goater?= , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Klaus Jensen , Klaus Jensen X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=678; i=k.jensen@samsung.com; h=from:subject:message-id; bh=8znLwL+kaz9D8g+Wg+lXO/+Bz8SVXSWIO3uRmjQ7FlE=; b=owJ4nAFtAZL+kA0DAAoBTeGvMW1PDekByyZiAGTlywrcZ9MoXRmZVa5rWtAOThEaOTOKLRgKv 0MKr/Eqr6A1IokBMwQAAQoAHRYhBFIoM6p14tzmokdmwE3hrzFtTw3pBQJk5csKAAoJEE3hrzFt Tw3pqCkH/3918BrWVjNacKUFGYgo4pEbX+uvlkqwSNGTe+lVM5XUhxXHrTVgk4s6w3t2Nzs0FLv P1Bgd8E51ek0yiSq7NnIiOrMxOFwoK3jmv6XjXDXxhebapZgHk+3MCaQMjbcw26tP/D3Luli5nR 3IopBed1yA4v3+cOWBF5WR031SOe1w5prJJ8cAvNkR4LzQtXoYGksCKKujWEB6VY2fTCuN/DlM9 +irzPL4jScj+3NYsE4Floguk0uG11Vu72iiNS50c+kO6wSyYSnIrzuKwR4aZQMc9q3tYNsWtYsf 0UKP10mUCD1O0Py1KfrUYMzY4hz4M2uSflz5o2EccLnP2bmY5rEKk6mE X-Developer-Key: i=k.jensen@samsung.com; a=openpgp; fpr=DDCA4D9C9EF931CC3468427263D56FC5E55DA838 Received-SPF: pass client-ip=66.111.4.25; envelope-from=its@irrelevant.dk; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Klaus Jensen Add missing copyright and license notice. Also add a short description of the device. Signed-off-by: Klaus Jensen Reviewed-by: Thomas Huth Reviewed-by: Cédric Le Goater --- hw/misc/i2c-echo.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hw/misc/i2c-echo.c b/hw/misc/i2c-echo.c index 5705ab5d7349..8ee03cb5632b 100644 --- a/hw/misc/i2c-echo.c +++ b/hw/misc/i2c-echo.c @@ -1,3 +1,11 @@ +/* + * Example I2C device using asynchronous I2C send. + * + * Copyright (C) 2023 Samsung Electronics Co., Ltd. All Rights Reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + #include "qemu/osdep.h" #include "qemu/timer.h" #include "qemu/main-loop.h"