Re: Using binary attributes for configuration sysfs entries

2019-03-12 Thread valdis . kletnieks
On Wed, 13 Mar 2019 12:02:02 +0530, Jay Aurabind said: > For the corresponding sysfs interface, since there are a lot of > parameters, would it be justified to use the same binary format though > sysfs_create_binary_file() ? The rationale is that it would be easier > to simply pack all the config

Re: [PATCH 1/1] staging: erofs: Add function comment for erofs/super.c

2019-03-12 Thread valdis . kletnieks
On Wed, 13 Mar 2019 08:48:26 +0800, Gao Xiang said: (Reversing order of comments) > "Release slab Memory" is not a very useful description for this function. Agreed. > i_callback is used to free inode structure and other memory related to this > inode However, that's not a bad description at a

Using binary attributes for configuration sysfs entries

2019-03-12 Thread Jay Aurabind
Hi, Before I send this patch to actual mailing list, I'd appreciate if someone could tell me if this is a bad idea! The driver in staging for pi433 (a wireless transceiver) uses IOCTLs at the moment. I wish to add a sysfs interface to it that control the various transmission and reception paramet

Re: [PATCH 1/1] staging: erofs: Add function comment for erofs/super.c

2019-03-12 Thread Greg KH
On Tue, Mar 12, 2019 at 11:33:47PM +0530, arshad hussain wrote: > Re-sending. Previous patch I put in very old kernel-newbies address. > > Subject: [PATCH 1/1] staging: erofs: Add function comment for > erofs/super.c You can't have a "Subject" line in the middle of the changelog :( Please fix u

Re: [PATCH 1/1] staging: erofs: Add function comment for erofs/super.c

2019-03-12 Thread valdis . kletnieks
On Tue, 12 Mar 2019 23:33:47 +0530, arshad hussain said: > Re-sending. Previous patch I put in very old kernel-newbies address. > > Subject: [PATCH 1/1] staging: erofs: Add function comment for > erofs/super.c > > This patch adds functions comment for file erofs/super.c in > sphinx format. > > Sig

[PATCH 1/1] staging: erofs: Add function comment for erofs/super.c

2019-03-12 Thread arshad hussain
Re-sending. Previous patch I put in very old kernel-newbies address. Subject: [PATCH 1/1] staging: erofs: Add function comment for erofs/super.c This patch adds functions comment for file erofs/super.c in sphinx format. Signed-off-by: Arshad Hussain --- drivers/staging/erofs/super.c | 133 +++

Building and cross-compiling kernel source on Mac OS

2019-03-12 Thread Pintu Agarwal
Hi, I have a Mac Book Pro with macOS High Sierra 10.13.x installed (with Mac OS Extended (Journaled, Encrypted)). I also have the Xcode installed so I can compile a C program using gcc. Now, I wanted to build linux kernel code (cross compile for arm or risc-v) on Mac OS. I know this is possible,

Re: ssh session with qemu-arm using busybox

2019-03-12 Thread Pintu Agarwal
On Tue, Mar 12, 2019 at 7:41 PM Suzuki K Poulose wrote: > > > > On 12/03/2019 14:02, Pintu Agarwal wrote: > >> > >> -netdev user,id=unet,hostfwd=tcp::-:22 \ > >> -net user \ > >> > >> and you 'll get guest's port 22 to be forwarded to hosts port , so > >> you can do > >> > >> ssh root@loca

Re: ssh session with qemu-arm using busybox

2019-03-12 Thread Pintu Agarwal
> > -netdev user,id=unet,hostfwd=tcp::-:22 \ > -net user \ > > and you 'll get guest's port 22 to be forwarded to hosts port , so > you can do > > ssh root@localhost: > > from the host. > I tried many different options, but unfortunately none worked for me. 1) qemu-system-arm -M vexpre

I2C drivers for Snapdragon 820

2019-03-12 Thread Shahid Ali Nadaf
Hi all, I am new to Linux kernel. I have developed basic drivers on micro-controllers and now i want to dive deep into the Linux world. I have a snapdragon 820 development board running Android 7.1.1, Kernel version 3.18.31. I have a RF card which i need to interface with Snapdragon 820 developme

I2C drivers for Snapdragon 820

2019-03-12 Thread Shahid Ali Nadaf
Hi all, I am new to Linux kernel. I have developed basic drivers on micro-controllers and now i want to dive deep into the Linux world. I have a snapdragon 820 development board running Android 7.1.1, Kernel version 3.18.31. I have a RF card which i need to interface with Snapdragon 820 developme