Re: Want to improve wiki document

2019-02-14 Thread Himanshu Jha
Anyway, I made the change myself and it works. Just use the same username as the one I created for you which is BoYU. Last entry in this page: https://kernelnewbies.org/EditorsGroup -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur

Re: Want to improve wiki document

2019-02-13 Thread Himanshu Jha
; As we all know, it has been moved into Documentation/dev-tools/, right? > > Please consider add me into editor list, thanks! I have added you to the list. Also, consider making the same change for https://kernelnewbies.org/Sparse as well. Thanks! -- Himanshu Jha Undergraduate Student

Re: drivers: iio: dummy: Unable to add channels to simple_dummy_channel

2019-01-24 Thread Himanshu Jha
_dummy_scan_elements { > DUMMY_INDEX_DIFFVOLTAGE_1M2, > DUMMY_INDEX_DIFFVOLTAGE_3M4, > DUMMY_INDEX_ACCELX, > + DUMMY_INDEX_MAGNX, > + DUMMY_INDEX_MAGNY, > + DUMMY_INDEX_MAGNZ, > }; This looks good. But think about what woul

Re: drivers: iio: Adding channels to the simple_dummy module

2019-01-24 Thread Himanshu Jha
clusively. -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: drivers: iio: Adding channels to the simple_dummy module

2019-01-23 Thread Himanshu Jha
any logs or diffs, it's hard to predict about where exactly you're doing wrong. Btw, we do have a IIO mailing list as well: linux-...@vger.kernel.org -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology _

[ANNOUNCE] New kernelnewbies mailing list archive

2018-12-16 Thread Himanshu Jha
be found at: https://www.kernel.org/lore.html I guess there is no other active archiving agent for kernelnewbies, not even marc.info with these features which is why I requested Konstantin Ryabitsev to set it up. Special thanks to Konstantin Ryabitsev from Linux Foundation! -- Himanshu Jha

Re: Need Suggestions

2018-08-01 Thread Himanshu Jha
ice challenge: Find one or more places > > where this structure is initialized, and understand how and why that works. > > > That kind of stuff is not taught in C programming. An answer can be > very educating. https://en.cppreference.com/w/c/language/pointer#Pointers_to_functio

Re: Need Suggestions

2018-07-25 Thread Himanshu Jha
project: https://summerofcode.withgoogle.com/projects/#6691473790074880 And probably I will be pushing nearly 1.3k lines of code next week for the mainline, and more if we need advanced features for the sensor. https://lore.kernel.org/lkml/20170726143215.gb28...@nazgul.tnic/ You see how thi

Re: undefined reference to `__divdi3'

2018-07-22 Thread Himanshu Jha
() (look math64.h for more functions) to prevent build error on 32bit environments. 2. Link statically libgcc using flags: -static-libgcc -lgcc I have not cross-compiled for i386 and checked, but looking at kbuild report it likely that build terminates and no linking takes place. So, I need to

undefined reference to `__divdi3'

2018-07-22 Thread Himanshu Jha
0013e <+318>: jne0x148 0x0140 <+320>: add rsp,0x88 0x0147 <+327>: ret 0x0148 <+328>: call 0x14d End of assembler dump. So, we have here: 0x012a <+298>: idiv rsi N

Re: Unable to view patches in https://patchwork.kernel.org/project/LKML/list/

2018-07-22 Thread Himanshu Jha
//lkml.org/lkml/2018/7/22/8 https://marc.info/?l=linux-kernel&w=2&r=1&s=nishad+kamdar&q=b There are more archives, but marc.info is better than lkml.org. lkml.org is sometimes down. -- Himanshu Jha Undergraduate Student Department of Electron

Re: Question about memcpy

2018-07-14 Thread Himanshu Jha
On Mon, Jul 09, 2018 at 12:16:27PM -0400, valdis.kletni...@vt.edu wrote: > On Mon, 09 Jul 2018 19:34:44 +0530, Himanshu Jha said: > > > I think for these benchmarking stuff, to evaluate the cycles and time > > correctly you should use the __rdtscp(more info at "AMD64 Arch

Re: Question about memcpy

2018-07-09 Thread Himanshu Jha
EC; printf("for loop took %f seconds to execute %zu cylces\n", cpu_time_used, t); } - Kernelspace: If you want to dig more: https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/ia-32-ia-64-benchmark-code-execution-paper.pdf Thanks -- Hima

Re: How to start ?

2018-05-08 Thread Himanshu Jha
On Tue, May 08, 2018 at 06:10:08AM +, Vishnu Gopinath wrote: > new in the field of linux kernal... how to start..from where to start https://kernelnewbies.org/Outreachyfirstpatch https://www.kernel.org/doc/html/latest/process/howto.html Good Luck! :) -- Himanshu Jha Undergraduate Stud

When does of_match_device() return NULL ?

2018-05-05 Thread Himanshu Jha
e it is done as "safe-play" coding as suggested to me by Jonathan previosuly https://lkml.org/lkml/2018/3/16/1245 -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology _

Compiling kernel with -Wformat-signedness gcc flag

2018-03-09 Thread Himanshu Jha
cluding/using this flag in the HOSTCFLAGS in the Makefile ? -- Thanks Himanshu Jha ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies