Commit 35e71a1f authored by Soren Brinkmann's avatar Soren Brinkmann Committed by Michal Simek
Browse files

char: xdevcfg: Check 'sysfs_create_group' return value



Test the return value of 'sysfs_create_group()' and issue a warning if
the call fails. This silences the following build warning:
   drivers/char/xilinx_devcfg.c: In function 'xdevcfg_fclk_init':
	drivers/char/xilinx_devcfg.c:1785:20: warning: ignoring return
	value of 'sysfs_create_group', declared with attribute
	warn_unused_result [-Wunused-result]

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent ed7d83c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment