RE: [PATCH 3.13] mei: mei_hbm_dispatch() returns void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> Building hbm.o for v3.13.2 triggers a GCC warning:
>     drivers/misc/mei/hbm.c: In function 'mei_hbm_dispatch':
>     drivers/misc/mei/hbm.c:596:3: warning: 'return' with a value, in function
> returning void [enabled by default]
>        return 0;
>        ^
> 
> GCC is correct, obviously. So let's return void instead of zero here.

The patch was based on top of this one  http://www.spinics.net/lists/stable/msg31386.html , which was too big for stable,
So  your fix is correct here.
ACK.


��.n��������+%������w��{.n�����������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]