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 X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06BBFC433E0 for ; Tue, 12 Jan 2021 08:55:54 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78931208E4 for ; Tue, 12 Jan 2021 08:55:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78931208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1kzFSk-0004WY-4m; Tue, 12 Jan 2021 03:55:38 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kzFSi-0004WT-Cr for kernelnewbies@kernelnewbies.org; Tue, 12 Jan 2021 03:55:36 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7535A1CE6; Tue, 12 Jan 2021 03:55:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 12 Jan 2021 03:55:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=lhmKkpJ5ZACvuAy3WIkLo9J0jY0 p/zanEwCyGnTAEzQ=; b=0cbrlx5kokfo3ywuwapxrCLPw/MIiuUPkRFktZ45jIR pIawn3VC3mZGNl2PieqmY92WDOWpiIpniK6+yz/shtqLv6+dNP56udJIsL/7kmkx UbWRDm/b+nFPsKHIQ2kXSasIc4WMv+iaiC/B1VI/3UF5Jnv+11JnJd3LehfSeZd/ vFNItvP1ORFeK1SFu+dpliS2AXhy7sOoK6LLYwnuPd4UAADEqeG3fYjW3PZKUTiK ANYIymkFP6vpgZb6SvvUHSS0e0yVNNPVqDr6kryfX3rdHwC1sGLJeMglrR4wqAgd GItaWteHf7GeeEAc1LITIQAIKVuyAyxPJnmZcPhDjqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lhmKkp J5ZACvuAy3WIkLo9J0jY0p/zanEwCyGnTAEzQ=; b=ncUOgzuGdROc1q5/Vx2K6M /RRZ+nZARIeBGnhZcV8D5nhAYtd7j6aFswveaj6QnGCTIoxukA9hh9p9qYksQc8L Z+NvWZHd4vyZDGG0rRylPVhckFNA3Ybw3IzwiM70HcGiBrSdazpHKHZvEPMYtqS0 yNjSbyEh1UbsY5LyRoNWuG6epKdBvRPhOaf8f4EvxFv+MozlzW1fE5h/vtWAVmgs 3amwZc+MnrVB/ou/8wP+qZNE+p7Dy4EseBNlaGbMAAWokfYogeM6gRc50O/JYN4o VZNw3wNM5wTscAweK5EQrK05GMZpOK/FOswfl9jRwb1Vy5BRLmUo3pChYAGAny5A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdehvddguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuhe ejgfffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecukfhppeek fedrkeeirdejgedrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FA5124005D; Tue, 12 Jan 2021 03:55:31 -0500 (EST) Date: Tue, 12 Jan 2021 09:56:41 +0100 From: Greg KH To: Jorge Fernandez Monteagudo Subject: Re: How to replace set_fs(KERNEL_DS) for a kernel 5.10.x module driver version Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: "kernelnewbies@kernelnewbies.org" X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, Jan 12, 2021 at 08:26:42AM +0000, Jorge Fernandez Monteagudo wrote: > >> Well, I can summarize as technological debt :( > >> I have to maintain an old code and I've been succesful until now with > >> minimal changes... Is there no way to overcome this? > > > >There might be, again, do you have a pointer to your full source for the > >module? > > > Well, I don't know if I'm allowed to share the full source code... > But, is it not enough with the minimal code I attached to grasp the > problem? I'm not allowed to help vendors with closed source kernel modules, sorry. good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies