Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1191096pxb; Thu, 28 Jan 2021 10:02:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt9U0thATRp1bIPOO8BtW75PEnzwwSpuUcI4CkN/8lctmTAjKjesJA8vZ3dHCUEKizqCl8 X-Received: by 2002:aa7:cdcb:: with SMTP id h11mr821569edw.237.1611856976091; Thu, 28 Jan 2021 10:02:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611856976; cv=none; d=google.com; s=arc-20160816; b=YrLQ/e3VhIvB0zuMAHo6+2EkGTUVYzKxHheKdplnXsxx6Ej19erlXdRWzRnwXMmti8 AA97YUuGfFITh0SK82IzNYYJE7xVICiwXWK3qiWtPFCxwbXYkQItVWrIXMv3Ks08XNxt ANXE7sC+tSBTM3pGTgAYKnGlqJZ5H4fTG3ks5cVfZNW7MQEGi844xKqi2SbDs/GD9XGM 0AqwQgbKtyjt0z/32z52nHZT/qkGcWWYFYLCU2Csw352tNdCkIYXVGQEkBM//VIYJGes xpDL5hSMy97i60dDfPU6F7BYgOO1LlIw+TM753HOojwDG1b5+R3r6gdJm63nPFIuqR0b ghXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=VLVB7MMejkgLYfHhLV065ctGHZimKjBNd0f/gd9Aq58=; b=txpA/aduMeZ5h9O6cijHa8wpekPd/Hgb8A7A3u2sB2OmAxvRz6n9iARwaftw5St3rT lTgnNd/He9khxW6JC+70z/1XiUR423kiM5BYPnPHi/aHQCk2QCglfhGXsbzPEgr8ICZQ 7IayhGLZW3EUV5aXlSlCjtYLg9xNKx/pbE84yKbab/+RzKUX/Q/RCfJlA01bNalcor26 Fq1rLSt36+UlO8b44YP60PyF1Cthcad3pSHLVnLL3+ov1zVm5/Mlc5UTdf6szlirKVe9 qEYT/6EvscK/GZt4H9ET4Zh4E2/pMw23bYAQgu32w25BNkN6zsgDuQbKzfagIIoxA4ua gkzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si3000932eje.652.2021.01.28.10.02.30; Thu, 28 Jan 2021 10:02:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbhA1R6B (ORCPT + 99 others); Thu, 28 Jan 2021 12:58:01 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:36842 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbhA1R4h (ORCPT ); Thu, 28 Jan 2021 12:56:37 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7C76431F; Thu, 28 Jan 2021 18:55:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JHKc1Q1vr65C; Thu, 28 Jan 2021 18:55:50 +0100 (CET) Received: from begin (unknown [IPv6:2a01:cb19:956:1b00:de41:a9ff:fe47:ec49]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C1B7322; Thu, 28 Jan 2021 18:55:50 +0100 (CET) Received: from samy by begin with local (Exim 4.94) (envelope-from ) id 1l5BWH-007kZi-Hj; Thu, 28 Jan 2021 18:55:49 +0100 Date: Thu, 28 Jan 2021 18:55:49 +0100 From: Samuel Thibault To: Greg KH Cc: linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: Re: [PATCH] speakup: Make dectlk flush timeout configurable Message-ID: <20210128175549.j5mc72mjjnh6aalk@begin> Mail-Followup-To: Samuel Thibault , Greg KH , linux-kernel@vger.kernel.org, speakup@linux-speakup.org References: <20210127234444.1038813-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spamd-Bar: -- Authentication-Results: hera.aquilenet.fr X-Rspamd-Server: hera X-Rspamd-Queue-Id: 7C76431F X-Spamd-Result: default: False [-2.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; BAYES_HAM(-3.00)[100.00%] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg KH, le jeu. 28 janv. 2021 08:54:16 +0100, a ecrit: > On Thu, Jan 28, 2021 at 12:44:44AM +0100, Samuel Thibault wrote: > > static struct kobj_attribute full_time_attribute = > > __ATTR(full_time, 0644, spk_var_show, spk_var_store); > > +static struct kobj_attribute flush_time_attribute = > > + __ATTR(flush_time, 0644, spk_var_show, spk_var_store); > > __ATTR_RW()? Unfortunately no because __ATTR_RW only takes the name, and uses that for the function to be called. In our case the functions are shared. > Also, no Documentation/ABI/ update for the new one user-visable > attribute? Please fix up. Right, I'll fix it. Samuel