Regulator API ignored return values
Quoted 13 lines · Arnd Bergmann
Hi all,
Mark Brown has added a patch to Linux-next that warns about certain regulator API functions being called without checking the results, which seems to have uncovered a number of bugs.
I've added a few people to Cc that might be interested in the reports and in fixing these bugs. Below you can find a list of all instances I found building the ARM defconfigs.
Arnd
[...]
Quoted 5 lines
/git/arm-soc/drivers/video/backlight/l4f00242t03.c: In function '
l4f00242t03_lcd_init':
/git/arm-soc/drivers/video/backlight/l4f00242t03.c:58:18: warning: ignoring return value of 'regulator_enable', declared with attributewarn_unused_result[-Wunused-result] /git/arm-soc/drivers/video/backlight/l4f00242t03.c:61:18: warning: ignoring return value of 'regulator_enable', declared with attributewarn_unused_result[-Wunused-result]
Hi Arnd Bergmann,
I fixed these warnings and the patch was added to mm-tree.
(http://www.spinics.net/lists/mm-commits/msg95324.html)
Thank you for reporting :)
Best regards,
Jingoo Han �淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깸G쳺��{ay����,j�f"톒쉹��묎�z_溫(�쉸듶줷"얎�m����G쳺�◀?솳鈺�&x�~뤳턨O뺞촾퇉v�^�m����띠�◀?뻀�