Re: Netlink socket returns NULL in vmx.c kernel file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have tested code from different aspects. I have searched a lot in two weeks, but still I am facing the same problem. Can you please check out what is the problem with my code. Code is in the attached zipped file. 
Thank you very much.

On Wed, Oct 23, 2019 at 2:38 PM Valdis Klētnieks <valdis.kletnieks@xxxxxx> wrote:
On Wed, 23 Oct 2019 11:43:22 +0900, Irfan Ullah said:

> Can you please what's the problem?

To be brutally honest, your code is too unreadable to figure out
what the problem is.

First off, fix your code formatting to match Linux kernel indenting.

Second, there's a lot of code in your .h file that should be in a .c file.

Third, functions should be static when feasible.


--
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
 sahibzada_irfanullah

Attachment: Kernel_User_comm.zip
Description: Zip archive

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux