Re: [PATCH] misc: cxl: sysfs.c: Remove unused function

2014-12-20 Thread Michael Neuling
> Remove the function mmio_size_show() that is not used anywhere. Did you compile check this patch? drivers/misc/cxl/sysfs.c:291:74: error: ‘mmio_size_show’ undeclared here (not in a function) It's used here: static struct device_attribute afu_attrs[] = { __ATTR_RO(mmi

[PATCH] arch: powerpc: platforms: embedded6xx: mpc7448_hpc2.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: mpc7448_hpc2_halt() mpc7448_hpc2_power_off() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c | 11 --- 1 file

Re: net: ucc: tbi phy detection broken by 058112c7efc9ef43bb511c137293dddbe6e42908

2014-12-20 Thread Lennart Sorensen
On Sat, Dec 20, 2014 at 09:08:51AM -0800, Florian Fainelli wrote: > There are some comments in ucc_geth that also lead me to believe this > is a just a hack instead of a real Ethernet PHY device. Part of what I > think got broken is because of this comment: > > /* Initialize TBI PHY interface for

Re: net: ucc: tbi phy detection broken by 058112c7efc9ef43bb511c137293dddbe6e42908

2014-12-20 Thread Florian Fainelli
2014-12-18 19:49 GMT-08:00 Lennart Sorensen : > I have been trying to move an 8360 based system from a 3.0 kernel to a > 3.12 (on the way to 3.14 with ipipe/xenomai) kernel and encountered an > oops in the ucc_geth driver when using RTBI mode on one of the ucc > ports. I haven't managed to find an

[PATCH] powerpc: Wire up sys_execveat() syscall

2014-12-20 Thread Pranith Kumar
Wire up sys_execveat(). This passes the selftests for the system call. Check success of execveat(3, '../execveat', 0)... [OK] Check success of execveat(5, 'execveat', 0)... [OK] Check success of execveat(6, 'execveat', 0)... [OK] Check success of execveat(-100, '/home/pranith/linux/...ftests/exec/

[PATCH] misc: cxl: sysfs.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function mmio_size_show() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/misc/cxl/sysfs.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/misc/cxl/s

[PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function ps3_repository_write_highmem_info() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/powerpc/platforms/ps3/platform.h |2 -- arch/powerpc/platforms/ps3/repository.