Re: mmotm 2014-09-25-16-28 uploaded (media/platform/vivid)

2014-09-26 Thread Randy Dunlap
On 09/25/14 16:28, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2014-09-25-16-28 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm

Re: [PATCH] staging: vt6655: fix sparse warning for static declaration

2014-09-26 Thread Dan Carpenter
Ugh... No. It doesn't need this. It's only used in private_ioctl() for the 0xFF ioctl(). We only check wpa_Result.authenticated. The SndEvt_ToAPI define is never set so we can ignore that code. In other words we can simplify the code to look like: if (copy_from_user(&wpa_Resu

RE: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample

2014-09-26 Thread Thomas Shao
> -Original Message- > From: Mike Surcouf [mailto:mps.surcouf.l...@gmail.com] > Sent: Friday, September 26, 2014 9:52 PM > To: Thomas Shao > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > driverdev-devel@linuxdriverproject.org; Olaf Hering; Robo Bot; > jasow...@redhat.com

[PATCH] staging: vt6655: fix sparse warning for static declaration

2014-09-26 Thread naszar
From: "Vladimir A. Nazarenko" This patch fixes the following sparse warning: drivers/staging/vt6655/ioctl.c:44:12: warning: symbol 'wpa_Result' was not declared. Should it be static? 'wpa_Result' can't be static because it used not only in file where declared (ioctl.c). To resolve this I

Re: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample

2014-09-26 Thread Mike Surcouf
In CENTOS and RHEL 6 and upwards the official way would be to use /usr/sbin/tickadj which is provided by ntp/chrony package This dependency on user space packages that may or may not be installed is going to cause a lot of confusion in an already confused space. Are we sure theres no other way?

Re: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample

2014-09-26 Thread Mike Surcouf
>> What happens when adjtimex is not present? >> Is there no kernel space function for that? >> Does this patch affect "not setting correct time on restore" or "not setting >> correct time on live migration" bug? >> > > If adjtimex is not present, then the slew time part didn't take effect. > Ther

RE: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample

2014-09-26 Thread Thomas Shao
> -Original Message- > From: Mike Surcouf [mailto:mps.surcouf.l...@gmail.com] > Sent: Friday, September 26, 2014 7:53 PM > To: Thomas Shao > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > driverdev-devel@linuxdriverproject.org; Olaf Hering; Robo Bot; > jasow...@redhat.com;

Re: [PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample

2014-09-26 Thread Mike Surcouf
> +/* helper function to call adjtimex command in user mode */ > +static void run_adjtimex_cmd(s64 tickvalue) > +{ > + char *argv[4], *envp[3]; > + char str_tickvalue[20]; > + > + sprintf(str_tickvalue, "%lld", tickvalue); > + > + argv[0] = "/sbin/adjtimex"; > + argv[1

Re: [PATCH] drivers: staging: wlan-ng: fix sparse warnings

2014-09-26 Thread Dan Carpenter
Patch is corrupt. Read the first paragraph of Documentation/email-clients.txt regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] drivers: staging: wlan-ng: fix sparse warnings

2014-09-26 Thread Cheng-Wei Lee
This patch fix the sparse warnings in wlan-ng/cfg80211.c The following functions were only used in this file, so done by declaring them into static. drivers/staging/wlan-ng/cfg80211.c:710:6: warning: symbol 'prism2_connect_result' was not declared. Should it be static? drivers/staging/wlan-ng/cfg8

[PATCH] Drivers: hv: util: Implement Time Synchronization using host time sample

2014-09-26 Thread Thomas Shao
In current hyper-v time sync service,it only gets the initial clock time from the host. It didn't process the following time samples. This change introduced a module parameter called host_time_sync. If it is set to true, the guest will periodically sychronize it's time with the host clock using hos

RE: Time keeps on slipping... on Hyper-V

2014-09-26 Thread Thomas Shao
> -Original Message- > From: Mike Surcouf [mailto:mps.surcouf.l...@gmail.com] > Sent: Friday, September 26, 2014 5:24 PM > To: Thomas Shao > Cc: Sitsofe Wheeler; Olaf Hering; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org; > a...@canoni

Re: Time keeps on slipping... on Hyper-V

2014-09-26 Thread Mike Surcouf
> We still recommend user to configure NTP in the guest VM. With the new time > sync feature in this patch, > you could have one more option to enable the guest-host sync, if the NTP > didn't work in the environment. > For example the guest VM didn't have network connection. Microsoft used to us

[PATCH] staging: lustre: fix gfp_t/int coercion

2014-09-26 Thread Omar Sandoval
Fix a few implicit casts between int and gfp_t which were caught by sparse. Signed-off-by: Omar Sandoval --- This patch applies to v3.17-rc6. drivers/staging/lustre/lustre/llite/lloop.c| 4 ++-- drivers/staging/lustre/lustre/ptlrpc/client.c | 2 +- drivers/staging/lustre/lus