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=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_IMAGE_ONLY_32,HTML_MESSAGE, 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 2F0EFCA9EAE for ; Tue, 29 Oct 2019 08:32:13 +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 D877D205C9 for ; Tue, 29 Oct 2019 08:32:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=dke-khu-ac-kr.20150623.gappssmtp.com header.i=@dke-khu-ac-kr.20150623.gappssmtp.com header.b="xtFknkSq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D877D205C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=dke.khu.ac.kr Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1iPMuR-00084P-CT; Tue, 29 Oct 2019 04:31:23 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) (envelope-from ) id 1iPMuM-00084H-9u for kernelnewbies@kernelnewbies.org; Tue, 29 Oct 2019 04:31:18 -0400 Received: by mail-lj1-x22a.google.com with SMTP id v2so2662lji.4 for ; Tue, 29 Oct 2019 01:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dke-khu-ac-kr.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mOhSrocIkM1Z4S17sqk1zrD6EQD1jKuY2InfDIwmxEY=; b=xtFknkSqRO7rGg3A8fishpZysZ/fHJmyrMYIp5XiX5bKqrNZ0pRJhz5seDkcNUWcax B4rDWzsW6NE+4mWqFvXeslzb9HJeTne6R2suqiAdZhiDBntacfUUslLG0khc5rRrHrSI BlRf9jUnuJnpWKfmnEGMW28YBuuWpHA9IVPksmO4Lt31yeSL6XxjaeOtk/clqhVVTQmh cQNZCQ9bCx/20cjsjUL+4iIhbU0nwn/ylDCfKj5CTuCrvMYFqX7alG3UQLzEF2MIWGb2 QGpBYm3IO/sxpmZZA8MUo+THBXhcxeSRJdyOjR4k4faH4dPcQStCXCD2Ui5s0BZV2PcS lJ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mOhSrocIkM1Z4S17sqk1zrD6EQD1jKuY2InfDIwmxEY=; b=eSRWxCRHUXXG2o1LLVokEgd/c5Cq2BtnozLpp36xohI5kYeLbV5s3yFtcWADndCaJx 3jZ49VkYxofBnQn0kPXadzSR9sN11F60q3IWggu/CwunLTwwzaCODNXP1Jj/I8RZIFqB 41OtHpdxrCPTC5gtWgwQMJdrPoeXw8na3XjWdG02R57Mtwiy+E8Gh8ach4t651jYBVCA bwPEUJQG5jtNYEq7MvNZby5j46yYX87AVtxZmQHgryPihBYA+vzA81S4wuFhAOXTTtzM Hl438AC9vZvR9+q6GBoP2ELfpijMRlFQj++Q6w+8nCueQwXGHAEgcbsk6HoAWxNWsdhT vmGQ== X-Gm-Message-State: APjAAAX6CxRDZqfJpknhaeiylLenSQmi13rbcoW7Txr8R2ZADDn73Cjs k8MsQ0Lx51IgsFEw4+nDEVgsbWvqGC3OHLevfBWJ3POO X-Google-Smtp-Source: APXvYqziCnthnDPygahXzc7SWHCX3kLhdrF2xmel7ALNhkLCyy6a5JZHABoPzzc6XWUBtZ8QPbLL9z6MFoNox27hlq8= X-Received: by 2002:a05:651c:313:: with SMTP id a19mr1589631ljp.199.1572337814271; Tue, 29 Oct 2019 01:30:14 -0700 (PDT) MIME-Version: 1.0 References: <5618f530-c562-542d-0130-328b6d604e87@petrovitsch.priv.at> In-Reply-To: <5618f530-c562-542d-0130-328b6d604e87@petrovitsch.priv.at> From: =?UTF-8?B?SXJmYW4gVWxsYWggKOyauOudvCDsnbTrpbTtjJAp?= Date: Tue, 29 Oct 2019 17:30:01 +0900 Message-ID: Subject: Re: Kernel Module with multiple source files not initializing To: Bernd Petrovitsch Cc: Linux Kernel List 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: multipart/mixed; boundary="===============1819950144464065359==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============1819950144464065359== Content-Type: multipart/alternative; boundary="000000000000e314da0596086cb2" --000000000000e314da0596086cb2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable my problem still not solved. Thanks for your help. On Mon, Oct 28, 2019 at 7:04 PM Bernd Petrovitsch wrote: > On 28/10/2019 10:43, Irfan Ullah (=EC=9A=B8=EB=9D=BC =EC=9D=B4=EB=A5=B4= =ED=8C=90) wrote: > > Thanks for the help. I have removed the "static" from the hello_init, > > hello_exti but nothing worked. I am not sure, but I think the problem i= s > > with the make file. > > OK, when I add "static" to my driver, it works too. Sry for the confusion= . > > I have also __init with the init function and __exit with the > exit function. > > MfG, > Bernd > -- > "I dislike type abstraction if it has no real reason. And saving > on typing is not a good reason - if your typing speed is the main > issue when you're coding, you're doing something seriously wrong." > - Linus Torvalds > --=20 *Best Regards,* *Mr. Irfan Ullah* PhD Candidate Data and Knowledge Engineering(DKE) Lab Department of Computer Science and Engineering Kyung Hee University, South Korea. +82-010-591-51651 <+82%2010-3877-8867> sahibzada.iu@gmail.com sahibzada_irfanullah --000000000000e314da0596086cb2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
my problem still not solved. Thanks for your help.
On Mon, = Oct 28, 2019 at 7:04 PM Bernd Petrovitsch <bernd@petrovitsch.priv.at> wrote:
On 28/10/2019 10:43, Irfan Ullah (= =EC=9A=B8=EB=9D=BC =EC=9D=B4=EB=A5=B4=ED=8C=90) wrote:
> Thanks for the help. I have removed the "static" from the he= llo_init,
> hello_exti but nothing worked. I am not sure, but I think the problem = is
> with the make file.

OK, when I add "static" to my driver, it works too. Sry for the c= onfusion.

I have also __init with the init function and __exit with the
exit function.

MfG,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Bernd
--
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong.&q= uot;
=C2=A0 =C2=A0 - Linus Torvalds


--
Best Regards,


Mr. Irfan Ullah
PhD Candidate
Data and Knowledge Engineering(DKE) Lab
Department of Computer Science and Engineering
Kyung Hee University, South Korea.
=C2=A0+82-010-591-51651
=C2=A0sahibzada_irfanulla= h
--000000000000e314da0596086cb2-- --===============1819950144464065359== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============1819950144464065359==--