Searched hist:bde9e509 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/platform/x86/ |
H A D | samsung-laptop.c | bde9e509 Tue Mar 20 03:53:07 CDT 2012 Dan Carpenter <dan.carpenter@oracle.com> samsung-laptop: cleanup return type: mode_t vs umode_t
This function returns a umode_t (unsigned short) instead of mode_t which is an unsigned int on some architectures. Cleaning this up silences a compile warning:
drivers/platform/x86/samsung-laptop.c:1108:2: warning: initialization from incompatible pointer type [enabled by default]
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com> bde9e509 Tue Mar 20 03:53:07 CDT 2012 Dan Carpenter <dan.carpenter@oracle.com> samsung-laptop: cleanup return type: mode_t vs umode_t This function returns a umode_t (unsigned short) instead of mode_t which is an unsigned int on some architectures. Cleaning this up silences a compile warning: drivers/platform/x86/samsung-laptop.c:1108:2: warning: initialization from incompatible pointer type [enabled by default] Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>
|