- log an error message when registration fails and no error code listed
in the switch is returned
- translate the hv error code to posix error code and return it from
fw_register
- return the posix error code from fw_register to the process writing
to sysfs
- return EEXIST on re-registration
Declare snd_kcontrol_new structures as const as they are only passed an
argument to the function snd_ctl_new1. This argument is of type const,
so snd_kcontrol_new structures having this property can be made const.
Done using Coccinelle:
@r disable optional_qualifier@
identifier x;
position p;
@@
s
Hi Linus,
Please pull some more powerpc fixes for 4.12:
The following changes since commit e41e53cd4fe331d0d1f06f8e4ed7e2cc63ee2c34:
powerpc/mm: Fix virt_addr_valid() etc. on 64-bit hash (2017-05-19 13:04:35
+1000)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux
This converts the powerpc VDSO time update function to use the new
interface introduced in commit 576094b7f0aa ("time: Introduce new
GENERIC_TIME_VSYSCALL", 2012-09-11). Where the old interface gave
us the time as of the last update in seconds and whole nanoseconds,
with the new interface we get t