From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 A621F1DD866 for ; Sat, 25 Jan 2025 12:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737807923; cv=none; b=c0U+yHOYfAgCWk65+ewS6OoRgl6V6usVHGodKA6oQYGlEhNVC5fh0wLYx66HS9GHHnkNcaAAb6r4nN/Y3ojUS5+j+SEa5qpmAKCUDNT82CgCwqpiZEPAxanVOErsVYdjMGLPrboUEJc8M+NuDd7tim/ubD7ebvgxHl56bKnsD5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737807923; c=relaxed/simple; bh=HdoTK/lD9GXM7A4UXUZ6k2k+fLYAoegmYu2BIlKQ2H0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WloOuB0kaP8XLVW3Wsl+PxH2829lMLBISBTf6BKkpUgSWYZeIVbB1+ZCZH7+UmcX44AOrTnIx6DyiwJ4A0cnZKU+Ye41HMZQZEEUSoYMkEdpcKKTTEP4iC5KBHsZEMbjUiFiR9w995j6TYNN0Ck3dPQg1f04eF55MsmZZ+gzlww= 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=hu5g5Hy4; arc=none smtp.client-ip=209.85.167.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hu5g5Hy4" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5401be44b58so3282279e87.0 for ; Sat, 25 Jan 2025 04:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737807920; x=1738412720; darn=vger.kernel.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=qEvp8KENtt205pPToJFo0xPm3OKfICneTfaum7r5yY4=; b=hu5g5Hy43ho9GHs98bpprmMRcDvIxJzfASftgFTonZTAmWvA6hoO0sSj/BWnOgzhMe yTkgv7XeGC5oRvToYdifK4488Nbse+CHUEku+c06JnQWleHCG9Wzr9R0joHlpVDAxkCZ L3x5Q2n5cHVWLkXSSER20t8TmIMAlhl7zsFh5LvMNw7SQxiwsIrRVqMe3xEKBbjd+3Uv uuXudrwsyIiEbgG+K0Yke7V8ATEVQVjcF8z87YH86PEktYcLwqwRaxP/w7IlCWNMPs6X xsaQ4gsrqNhUIc++iH2M3t/JivkP9NH7cIrfoNrBpMnblrASrOB5h8l01bXlVTPjewk2 7Ymg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737807920; x=1738412720; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qEvp8KENtt205pPToJFo0xPm3OKfICneTfaum7r5yY4=; b=wxPb81X6RwHhqucH1bkZikhHe8yc9Z9iJScRSbUHTk+D4OPy1qaTAuqihpQipaippL 8ZVRIIHkrPsij7UaXjcQVnRvPusGm1XQapqbT4sqB2a3DGMsArruoth0Y3AmHc4M9Hu/ +ID9Ph+90meyH6bafqth/KJAPlOA+YRGhVspCvzjbEvKbWOFZuKrn/SVjBqa8phFRME7 M/tXOVx6lxWzOZDKFEU9UuaoKL06G+HTRmuczcboNkbQ5JPKjL+46QiW3HmVpbaTQZIS wNlUVywRCMZ0ndd7IPZSni6CyUBLGyOf12i9+xDA4F36BJHGwP2GsyWVWyB3yp/zyo3h PobQ== X-Forwarded-Encrypted: i=1; AJvYcCUL7+V7LnMduXi2+1CkC3nynvnRUPKnBXC2K2vLus2VZZchIT/zDabXqFrx0xKEaldyvRGVBMXP1+Wtq8w=@vger.kernel.org X-Gm-Message-State: AOJu0YyGnerXD6qt71evbGnBiXNW+dZ9BzpPz2TfaX7cWjmIUxD2fmwy hIXb2HB42gSL3KewjzTdALSTJkeH+6SUoDngD0y17ZCpP2aZRwpKLFRxx3JpFvo= X-Gm-Gg: ASbGncvsoW/kWME65E9AAns5qR6cakpAPzUH/z1IO4rWPWYYixvYVqfxTgGPUMycXcI rakdFfy0lXBx7D6g0YhPWKCsvZAguB0g0gRXSbmWSUaP5fM/6yufCbDzxHhvvzAnOcECYi8tZhk KMkKTYoFhBeKRaM6Hln2nv4JG8od51pDseno99vp5Du2ZTPfGw9KcaLzUWI7q1y0iaHcU3JL+nk h47vucvVwmHwEpwnN1Mgzmlgdw45mGy6HiHz+oDgSOyN75iXa5qflhBWnnMU8Iy4hIT1ShmcPnD S99rMg== X-Google-Smtp-Source: AGHT+IHhRCubfJjj5tqm26zczSwl1LUt0zAq4tQLpJ+QpYc7C8lOiKFPOmWeHP1eHzGDHaoM3nkoiA== X-Received: by 2002:ac2:434f:0:b0:543:9aef:53d3 with SMTP id 2adb3069b0e04-5439c267597mr8291049e87.36.1737807919360; Sat, 25 Jan 2025 04:25:19 -0800 (PST) Received: from grain.localdomain ([5.18.253.97]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-543c8228943sm606660e87.33.2025.01.25.04.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2025 04:25:18 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id 1A4615A002E; Sat, 25 Jan 2025 15:25:18 +0300 (MSK) Date: Sat, 25 Jan 2025 15:25:17 +0300 From: Cyrill Gorcunov To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Anna-Maria Behnsen , Frederic Weisbecker , Thomas Gleixner , linux-kernel@vger.kernel.org, Richard Cochran , Arnd Bergmann Subject: Re: [PATCH] posix-clock: Remove duplicate ioctl handler Message-ID: References: <20250125-posix-clock-compat-cleanup-v1-1-c8b0f377905b@weissschuh.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250125-posix-clock-compat-cleanup-v1-1-c8b0f377905b@weissschuh.net> User-Agent: Mutt/2.2.13 (2024-03-09) On Sat, Jan 25, 2025 at 11:20:49AM +0100, Thomas Weißschuh wrote: > The normal and compat ioctl handlers are identical, > which is fine as compat ioctls are detected and handled dynamically [0]. > The duplicate definition however is unnecessary. > Just reuse the regular ioctl handler also for compat ioctls. > > [0] https://lore.kernel.org/lkml/20250125-posix-clock-compat_ioctl-v2-1-11c865c500eb@weissschuh.net/ > > Signed-off-by: Thomas Weißschuh Reviewed-by: Cyrill Gorcunov