Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp519583lqh; Fri, 31 May 2024 08:16:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZxqjon4gWKsoPo3a5gsec6i21dIRcU+YDJ/l8nKns9Qtbgj8w9vU/yrp7ZHwhC+z1yDjqKrtIagdnPwScb52LUKQTD09U+F8EgJ2YaQ== X-Google-Smtp-Source: AGHT+IH6fO0ulzbR1tm0Kftm/dx+X7USTmooLAEC2BIg69jIgb2Xk1B2wQjQvMAWrcMbHcPoOXRY X-Received: by 2002:a17:902:cec6:b0:1f4:8190:33c3 with SMTP id d9443c01a7336-1f637082698mr21443765ad.40.1717168613015; Fri, 31 May 2024 08:16:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717168611; cv=pass; d=google.com; s=arc-20160816; b=F2FO4koJ91XV91pja8ndFcknAQb7wi5qdh9baqjcS0k3uhyCo8R3eLFo4D1Zg+O3Vy gz0TSXP3cAkximxRS5Eh64maw98614lnnLIqKfTRRsUJcamwW86NkIWR07y2FRJ1SALq TfY4PCFLl6KwcBYJU5MRfZov4J6bzW/hfPXwikH5oGaZYeeCkP3Ka/qXKx2XjBFNlnVW Ek+0WLKfAO/j94uLInd0ZYkrjn1/GC6fJo/bKIPFEaonFpKRVAao+OCyY5gjEM5ZHixr gdaGLXvz6THNq84aEjfStdD30plMoFzBHS3k6WKToM7XGC0y38BHk/f3oCGExAb0+fOn DMXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=47YoFxGnZjSERddwIl/uZ7VP4HwPh2wSUWLK/r6MlPM=; fh=Er9xqjmqk8o9rfV2YeBhtBJGeXgQEuqM9DTjxEVO/FQ=; b=s1JaYCWuUpQLjSVXVEDn81+3s8MSqk5w/3a8lCFpiTWzPGQM+deGtRXDCHT3s77S6Q rZJRLP8ivbyZnifmukRhmI8U9HkbC0bMZcMaYtnJNr+JjO9EHjVLKonxbyvMfijBFq6F NPvgppkOZLxm10wYC/Sq7WX5Mv+j7wpAt4D3p3OLnVlZDxFrRUErYkGNtzgSlwuVGz+9 7E3dSPcq7ne1Xi9gge5DZ5zPxYxolTGdbylV4br5v376HLEY9ZYFKIRleeRg027y4rPL tEMWTFiGMuimc2ffWNY6Sik1e7YiEzZDtjBWfFdTwDeRZMWT19jVJ5x3ASW5J4Op3Ucz G77A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zonque.org); spf=pass (google.com: domain of linux-kernel+bounces-197045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197045-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323debe9si17534675ad.327.2024.05.31.08.16.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 08:16:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zonque.org); spf=pass (google.com: domain of linux-kernel+bounces-197045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197045-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D0F4A286108 for ; Fri, 31 May 2024 15:13:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B50FC145322; Fri, 31 May 2024 15:13:00 +0000 (UTC) Received: from mail.bugwerft.de (mail.bugwerft.de [46.23.86.59]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D30A1848; Fri, 31 May 2024 15:12:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.23.86.59 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717168380; cv=none; b=tNSu7mFHU8iGZSChNgsD3S/r5nv+uelEBsBXlEpiRgDrPzqXa3yg8+4PZDgBAN/yn6l2Hl0J7GykSlyVHiOEzy8YbJc40+kZGvSn3lmPedduTtZ3ryWD7hEF+/btKC3RcAc2tnCI7nQ95nr5U6JYHHqMEhRGqolDjtJzxakbXeg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717168380; c=relaxed/simple; bh=/iWDpVJw1GK4gVih8nweVgtydmcqAVcnqRMEQTtTvtg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=L/vHNU60R6fUSndVGxxwOgs23z/oTP1OOu+vQERaqkrBNygqrnkqBoiwSYZSeP277VqOZR4R/dwTCxWN1cfJln+EjCvIA6q82ZggciZnvNaktlZXq55zqpDPE0HBbJ+5ZnHsKRdYS1P6nqCie9JmGfkWAEEy7xypjzBmbs1BCZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zonque.org; spf=pass smtp.mailfrom=zonque.org; arc=none smtp.client-ip=46.23.86.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zonque.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zonque.org Received: from [192.168.178.57] (pd95efb9d.dip0.t-ipconnect.de [217.94.251.157]) by mail.bugwerft.de (Postfix) with ESMTPSA id 47BE12806FF; Fri, 31 May 2024 15:12:56 +0000 (UTC) Message-ID: Date: Fri, 31 May 2024 17:12:55 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] serial: sc16is7xx: set driver name To: Greg KH Cc: hvilleneuve@dimonoff.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240531101959.181457-1-daniel@zonque.org> <2024053127-custody-bankable-817d@gregkh> Content-Language: en-US From: Daniel Mack In-Reply-To: <2024053127-custody-bankable-817d@gregkh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/31/24 12:27, Greg KH wrote: > On Fri, May 31, 2024 at 12:19:59PM +0200, Daniel Mack wrote: >> Set the drv_name field of the driver struct so that the tty core >> registers a procfs entry for it. This is useful for debugging. >> >> Signed-off-by: Daniel Mack >> --- >> drivers/tty/serial/sc16is7xx.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c >> index bf0065d1c8e9..308edbacda7b 100644 >> --- a/drivers/tty/serial/sc16is7xx.c >> +++ b/drivers/tty/serial/sc16is7xx.c >> @@ -351,6 +351,7 @@ static struct uart_driver sc16is7xx_uart = { >> .owner = THIS_MODULE, >> .driver_name = SC16IS7XX_NAME, >> .dev_name = "ttySC", >> + .driver_name = SC16IS7XX_NAME, > > Are you sure this patch is correct? Look 2 lines up :) > Oh, Hugo did that already. Sorry for the noise. Daniel