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

Commit 3bffc475 authored by Silviu-Mihai Popescu's avatar Silviu-Mihai Popescu Committed by David S. Miller
Browse files

CAIF: fix indentation for function arguments



This lines up function arguments on second and subsequent lines at the
first column after the openning parenthesis of the first line.

Signed-off-by: default avatarSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b2fb4f54
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -302,9 +302,10 @@ static void dev_flowctrl(struct net_device *dev, int on)


void caif_enroll_dev(struct net_device *dev, struct caif_dev_common *caifdev,
void caif_enroll_dev(struct net_device *dev, struct caif_dev_common *caifdev,
		     struct cflayer *link_support, int head_room,
		     struct cflayer *link_support, int head_room,
			struct cflayer **layer, int (**rcv_func)(
		     struct cflayer **layer,
				struct sk_buff *, struct net_device *,
		     int (**rcv_func)(struct sk_buff *, struct net_device *,
				struct packet_type *, struct net_device *))
				      struct packet_type *,
				      struct net_device *))
{
{
	struct caif_device_entry *caifd;
	struct caif_device_entry *caifd;
	enum cfcnfg_phy_preference pref;
	enum cfcnfg_phy_preference pref;
+9 −10
Original line number Original line Diff line number Diff line
@@ -301,8 +301,7 @@ static int caif_connect_req_to_link_param(struct cfcnfg *cnfg,


int caif_connect_client(struct net *net, struct caif_connect_request *conn_req,
int caif_connect_client(struct net *net, struct caif_connect_request *conn_req,
			struct cflayer *adap_layer, int *ifindex,
			struct cflayer *adap_layer, int *ifindex,
				int *proto_head,
			int *proto_head, int *proto_tail)
				int *proto_tail)
{
{
	struct cflayer *frml;
	struct cflayer *frml;
	struct cfcnfg_phyinfo *phy;
	struct cfcnfg_phyinfo *phy;
+6 −7
Original line number Original line Diff line number Diff line
@@ -160,8 +160,7 @@ static void cfsrvl_release(struct cflayer *layer)
void cfsrvl_init(struct cfsrvl *service,
void cfsrvl_init(struct cfsrvl *service,
		 u8 channel_id,
		 u8 channel_id,
		 struct dev_info *dev_info,
		 struct dev_info *dev_info,
			bool supports_flowctrl
		 bool supports_flowctrl)
			)
{
{
	caif_assert(offsetof(struct cfsrvl, layer) == 0);
	caif_assert(offsetof(struct cfsrvl, layer) == 0);
	service->open = false;
	service->open = false;
+2 −2

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+11 −11

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

Loading