From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DD48C433F5 for ; Tue, 9 Nov 2021 15:41:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DF0261104 for ; Tue, 9 Nov 2021 15:41:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239135AbhKIPoi (ORCPT ); Tue, 9 Nov 2021 10:44:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:42394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237909AbhKIPoe (ORCPT ); Tue, 9 Nov 2021 10:44:34 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A950E61104; Tue, 9 Nov 2021 15:41:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636472508; bh=1q6IxLmpJQu5s3uGGnQFQ9Si2OQ11miAmiOnpfKCVBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ihLb0JiYiMpf9TX/qrIWN41/bXa2qJ9cU/JhR0YkTPktUhdd9LSrtExiizn1ii/9a ZNvpKC/LUC2k7rEHGsIT0It8XOz5QGFqnukYQzsJ99vJ8D9YgfdrUSY4cQWp1P3vX2 IeQhSy9CXH52phHRIHVEnHuWstIN9nN6jF8zYGK4= Date: Tue, 9 Nov 2021 16:41:45 +0100 From: Greg KH To: Vihas Mak Cc: sudipm.mukherjee@gmail.com, arnd@arndb.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH] char: ppdev: fixed a validation issue Message-ID: References: <20211108185818.GA73382@makvihas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 09, 2021 at 09:04:57PM +0530, Vihas Mak wrote: > > What happens today if the mode is not set properly? Will the code paths > > error out eventually, or will the call succeed? The problem is that > > there might be code that is working today that would break with a change > > like this, as again, this is a very old driver. > > I see. So I guess this driver might be better off without any changes, > as new changes might break things more severely. Changes in behavior always have the ability to break things. What other changes do you want to make to this old driver that might cause problems? And you didn't answer my question above, what happens if the mode is not set properly today? thanks, greg k-h