mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
028940342a
232 changed files with 1488 additions and 1060 deletions
|
|
@ -242,12 +242,13 @@ EXPORT_SYMBOL_GPL(gss_mech_get_by_pseudoflavor);
|
|||
int gss_mech_list_pseudoflavors(rpc_authflavor_t *array_ptr)
|
||||
{
|
||||
struct gss_api_mech *pos = NULL;
|
||||
int i = 0;
|
||||
int j, i = 0;
|
||||
|
||||
spin_lock(®istered_mechs_lock);
|
||||
list_for_each_entry(pos, ®istered_mechs, gm_list) {
|
||||
array_ptr[i] = pos->gm_pfs->pseudoflavor;
|
||||
i++;
|
||||
for (j=0; j < pos->gm_pf_num; j++) {
|
||||
array_ptr[i++] = pos->gm_pfs[j].pseudoflavor;
|
||||
}
|
||||
}
|
||||
spin_unlock(®istered_mechs_lock);
|
||||
return i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue