[linux-morello] [PATCH v2 2/5] net: Use proper typecast for capability type