Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14d8e915 authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman
Browse files

Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument

parent cc872f80
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ static UINT UpdateClassifierPHSRule(B_UINT16 uiClsId,
				    struct bcm_phs_rule *psPhsRule,
				    struct bcm_phs_rule *psPhsRule,
				    B_UINT8 u8AssociatedPHSI);
				    B_UINT8 u8AssociatedPHSI);


static bool ValidatePHSRuleComplete(struct bcm_phs_rule *psPhsRule);
static bool ValidatePHSRuleComplete(const struct bcm_phs_rule *psPhsRule);


static bool DerefPhsRule(B_UINT16 uiClsId,
static bool DerefPhsRule(B_UINT16 uiClsId,
			 struct bcm_phs_classifier_table *psaClassifiertable,
			 struct bcm_phs_classifier_table *psaClassifiertable,
@@ -946,7 +946,7 @@ out:
	psServiceFlowRulesTable = NULL;
	psServiceFlowRulesTable = NULL;
}
}


static bool ValidatePHSRuleComplete(IN struct bcm_phs_rule *psPhsRule)
static bool ValidatePHSRuleComplete(IN const struct bcm_phs_rule *psPhsRule)
{
{
	return (psPhsRule &&
	return (psPhsRule &&
		psPhsRule->u8PHSI &&
		psPhsRule->u8PHSI &&