mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cc872f8070
commit
14d8e91596
@@ -24,7 +24,7 @@ static UINT UpdateClassifierPHSRule(B_UINT16 uiClsId,
|
||||
struct bcm_phs_rule *psPhsRule,
|
||||
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,
|
||||
struct bcm_phs_classifier_table *psaClassifiertable,
|
||||
@@ -946,7 +946,7 @@ static void free_phs_serviceflow_rules(struct bcm_phs_table *psServiceFlowRulesT
|
||||
psServiceFlowRulesTable = NULL;
|
||||
}
|
||||
|
||||
static bool ValidatePHSRuleComplete(IN struct bcm_phs_rule *psPhsRule)
|
||||
static bool ValidatePHSRuleComplete(IN const struct bcm_phs_rule *psPhsRule)
|
||||
{
|
||||
return (psPhsRule &&
|
||||
psPhsRule->u8PHSI &&
|
||||
|
||||
Reference in New Issue
Block a user