Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp48202lqj; Wed, 10 Apr 2024 03:42:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHSkExx7GAVEWvfXYNzzKyz3lT86vPXKb4au0vk+dNlIpOQ56AzvFY6qE3zDJgv5g0zJUmh30ZHRGzUV/IoPYcvH053GVXMfRpY0uy5g== X-Google-Smtp-Source: AGHT+IG7YcMEqOmSVLp8O1zqRUNq44SafbM7csIexCRyF0ekC52HGIQYSSbMjC6ujXT+M0Y13EK9 X-Received: by 2002:a17:906:494f:b0:a51:ad4e:15f0 with SMTP id f15-20020a170906494f00b00a51ad4e15f0mr1306256ejt.29.1712745760178; Wed, 10 Apr 2024 03:42:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712745760; cv=pass; d=google.com; s=arc-20160816; b=ZrD6vcVdzRcJ3/GYgwQW/DWoG0Aa7pZgyY12RNtJw/P9Ni4EG3tRzcIPxuCIkRRPku RxIsCXJwlHZStTZjPs5v7qpTPv3uu0VXUgKa1BR/uMyn5YUIOsS/ACL5HpgBcxYbglBM bHzdeG5T/iYznl4bbS7hYg2jR9oet8vKDHIhk0A0RF78CnulW3eLdyyb/opggMiSpeG4 t7J1gc4vcHJXQyx6Fnn+bEuPTqxDyAVtff8TlNA16yaU3Kvh6wbsZXJ1OQLN+Fv6LCNK x4EkCrCaFmJ4/kix09gPrlTFz95Pmhh4ucwSsadKzGaEYsfT+x03G5x2oT2Iw85Gli9p w8Lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=AbyfJgbEqm3y8eA/5R8TMVFQDOgrDw8mMvC2Hb5f9hg=; fh=WIL/siFzvTjpXh0qsdX501/CuDamFW93GEoA4YePc4A=; b=yjOjppFS5cP080mfT8BbZ8eW07fSuGiEX1wZS3ldppZLyBDrfNkUYuyOOyjJeefnOV 890bt3Xb0RdOr/G/om55ZF0Fl3yB0Hab0IgFwNE/rnesFyKrFBuUI7e8hQNfjkk0LMls IBmJUvXkVFfPzn/JSDLWkIBXhvRsqB7ap91e+IeVJunzjVyloXmE3jQ9oM+exDO73qMC FPqvMR3Zkq4M6nrUb3kHaRSLP7J2ag2lpCHrq3kJVrEmXbsCg5RcDY+F4OcVjKDkb8Fk hAVnVqnMa7ZaIuw2UQ8KuJqJUfSm0ljKtvf9Mnm+0D/VL4b8EjLnyFftQj/HHsIjD7ck uMeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g9JGd3eU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-138356-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138356-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ka19-20020a170907991300b00a51feef6438si1373495ejc.517.2024.04.10.03.42.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 03:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138356-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g9JGd3eU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-138356-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138356-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D4FAA1F23B68 for ; Wed, 10 Apr 2024 10:42:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8698215921C; Wed, 10 Apr 2024 10:42:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="g9JGd3eU" Received: from mail-ej1-f65.google.com (mail-ej1-f65.google.com [209.85.218.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3773613DB9F for ; Wed, 10 Apr 2024 10:42:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712745751; cv=none; b=uorJHe0kJDMI5VvL1TL595UY7aoNlyHGjzVZdNWqhLmy8NpYqEsEJrzDGjpss2UVec/LonzY3fIJa8778sWHjH+pmuzPRe1XZHkuH4oAShCC1G6iZrGFiei0HYKJPZ6l4s7sqG+THRfz3RceUHIqvkioCtGqUKj61namrld0GYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712745751; c=relaxed/simple; bh=AbyfJgbEqm3y8eA/5R8TMVFQDOgrDw8mMvC2Hb5f9hg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=aUW62xiwg3g7UohPQH6XXe9/0mdh8wHpTqZxTDjfEvUVkDVVxRS0aJTBGlZc+0bf+FNh3T+OfO0YoG4aQWCItsKWtytz7oNc7cCk5BzeA6ykleqV6QGzXpZm5PAqHQemdVEAhSaxkyfBdXP433ARBapjvJanLoAT6Ml9vMscNqE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=g9JGd3eU; arc=none smtp.client-ip=209.85.218.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f65.google.com with SMTP id a640c23a62f3a-a5213f0f85dso34446266b.3 for ; Wed, 10 Apr 2024 03:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712745748; x=1713350548; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AbyfJgbEqm3y8eA/5R8TMVFQDOgrDw8mMvC2Hb5f9hg=; b=g9JGd3eUtS2J1wd2Ui2MOiriZ2BQ3bbLcWc3AnHxFu82wnrUz9StfUFoQOdWF8pd1/ JQVpTNfGXGzE50dYwcsDYNDx/xghEe6UtJ1XcNCEJdJjJ3QJK+7t9Dk0hDSdivAXMbQ4 xsVYs46clTVG/LNYlxHvO4dN06e0f9WorO0q+uXwcZEoGRS6Ovh7rei9+qhhAh94E6Xv 5vo3/xRZlHqwiMA0EZkgIFIGwHBpjovav53fUUXIHAk291nbIhDbaMfheoO+BDVVMkGC tnFxJV34jNKByAtKVtMbwbg/ry7HC01k6QyLHDRaD70HYnRWdscRuEHsaVH/lkMt/tlP 1MRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712745748; x=1713350548; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AbyfJgbEqm3y8eA/5R8TMVFQDOgrDw8mMvC2Hb5f9hg=; b=KjOzMViRO6wp+qycA4hUzzI2Lqy5Ehe/PtGIkeJhHJC8w7QjX9kibsUIyA9lSxg0aP mQuH5e9XfP725neVuaT6wIfyT4I59P7cuXoyTCpmu4aly0d95KNrtxQcpEfcRutLWovi WiBUkz6bPqvVSdTg6KUOR3FKAgrGoAeO+7SHaUZWyjWX8HSo1Aub2P9hSmu+fpww7Nn0 OtYWbF7J9q/lr+D84F1gBBYM8GGIuNo1IV/+uuJV/gLrHuzAvyUWJRPcUQamM9AzL8n8 Bprh4Mjw1uk5pvqaE6DdXm5jK/NoRkbOkUuOAaZ6UPKcVro/vLWjVo6D4e7csQDVEHsi pjnQ== X-Forwarded-Encrypted: i=1; AJvYcCUgksABf8bNa8hSyiv25obFrv3i8RhxnETOxzUlbQb9vEGp3kP2a7COJyjQyqJlDwenORUPUs9uTPVzVsXnRRlJwEku8tbY2ew/fWJ2 X-Gm-Message-State: AOJu0YwSN8BvLmXLbDPKhHbven3YV8oaE3xbTVRHSWgyUV/NfAhGkchA iseqxyRzg/iq4a3ItQS8VpJySCUiktV70xnYWl40kYjbLLkxH9grZNDtf1MJzS9/1ECj/xqAX7k SHZbeVC//8H2Y3m8O/sFE39MUm3U= X-Received: by 2002:a17:906:f9d1:b0:a51:9cee:4718 with SMTP id lj17-20020a170906f9d100b00a519cee4718mr1256690ejb.38.1712745748304; Wed, 10 Apr 2024 03:42:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240407080358.8635-1-qq810974084@gmail.com> <559293f8-0291-4059-95ac-99c5c106320a@wanadoo.fr> In-Reply-To: <559293f8-0291-4059-95ac-99c5c106320a@wanadoo.fr> From: Huai-Yuan Liu Date: Wed, 10 Apr 2024 18:41:50 +0800 Message-ID: Subject: Re: [PATCH V2] ppdev: Add an error check in register_device To: Christophe JAILLET Cc: sudipm.mukherjee@gmail.com, arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi, Thanks for CJ's suggestion. I have modified and sent the [PATCH V3] email. Best regards, Liu.