summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/wpactl.c
diff options
context:
space:
mode:
authorFrank Zago <fzago@cray.com>2014-08-15 12:48:12 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-17 09:38:43 -0700
commit2b358b4ea5b2912726d872611089e790a8388b62 (patch)
treecfcdf1bc24bd414f608d124d02f315aa687ce093 /drivers/staging/vt6655/wpactl.c
parentb6ee56fe2afe10cf855de8d11b6097fa82c26163 (diff)
staging/lustre/llite: optimize ll_fid2path()
The only parameter from userspace that matters is the length of the buffer. We don't need to allocate then import the whole structure. By importing only that length, we can save a memory allocation. Add sparse annotations to that function. Signed-off-by: frank zago <fzago@cray.com> Reviewed-on: http://review.whamcloud.com/11167 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5389 Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/wpactl.c')
0 files changed, 0 insertions, 0 deletions