Loading drivers/platform/msm/ipa/ipa_rm_dependency_graph.c +5 −3 Original line number Diff line number Diff line /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -88,7 +88,8 @@ int ipa_rm_dep_graph_get_resource( goto bail; } resource_index = ipa_rm_dep_get_index(resource_name); if (resource_index == IPA_RM_INDEX_INVALID) { if (resource_index == IPA_RM_INDEX_INVALID || resource_index >= IPA_RM_RESOURCE_MAX) { result = -EINVAL; goto bail; } Loading Loading @@ -120,7 +121,8 @@ int ipa_rm_dep_graph_add(struct ipa_rm_dep_graph *graph, goto bail; } resource_index = ipa_rm_dep_get_index(resource->name); if (resource_index == IPA_RM_INDEX_INVALID) { if (resource_index == IPA_RM_INDEX_INVALID || resource_index >= IPA_RM_RESOURCE_MAX) { result = -EINVAL; goto bail; } Loading drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c +4 −1 Original line number Diff line number Diff line Loading @@ -2677,7 +2677,10 @@ int rmnet_ipa_query_tethering_stats(struct wan_ioctl_query_tether_stats *data, IPAWANERR("reset the pipe stats\n"); } else { /* print tethered-client enum */ IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); if (data == NULL) return -EINVAL; IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); } rc = ipa_qmi_get_data_stats(req, resp); Loading drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +4 −1 Original line number Diff line number Diff line Loading @@ -2835,7 +2835,10 @@ int rmnet_ipa3_query_tethering_stats(struct wan_ioctl_query_tether_stats *data, IPAWANERR("reset the pipe stats\n"); } else { /* print tethered-client enum */ IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); if (data == NULL) return -EINVAL; IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); } rc = ipa3_qmi_get_data_stats(req, resp); Loading Loading
drivers/platform/msm/ipa/ipa_rm_dependency_graph.c +5 −3 Original line number Diff line number Diff line /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -88,7 +88,8 @@ int ipa_rm_dep_graph_get_resource( goto bail; } resource_index = ipa_rm_dep_get_index(resource_name); if (resource_index == IPA_RM_INDEX_INVALID) { if (resource_index == IPA_RM_INDEX_INVALID || resource_index >= IPA_RM_RESOURCE_MAX) { result = -EINVAL; goto bail; } Loading Loading @@ -120,7 +121,8 @@ int ipa_rm_dep_graph_add(struct ipa_rm_dep_graph *graph, goto bail; } resource_index = ipa_rm_dep_get_index(resource->name); if (resource_index == IPA_RM_INDEX_INVALID) { if (resource_index == IPA_RM_INDEX_INVALID || resource_index >= IPA_RM_RESOURCE_MAX) { result = -EINVAL; goto bail; } Loading
drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c +4 −1 Original line number Diff line number Diff line Loading @@ -2677,7 +2677,10 @@ int rmnet_ipa_query_tethering_stats(struct wan_ioctl_query_tether_stats *data, IPAWANERR("reset the pipe stats\n"); } else { /* print tethered-client enum */ IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); if (data == NULL) return -EINVAL; IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); } rc = ipa_qmi_get_data_stats(req, resp); Loading
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +4 −1 Original line number Diff line number Diff line Loading @@ -2835,7 +2835,10 @@ int rmnet_ipa3_query_tethering_stats(struct wan_ioctl_query_tether_stats *data, IPAWANERR("reset the pipe stats\n"); } else { /* print tethered-client enum */ IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); if (data == NULL) return -EINVAL; IPAWANDBG_LOW("Tethered-client enum(%d)\n", data->ipa_client); } rc = ipa3_qmi_get_data_stats(req, resp); Loading