netdev
[Top] [All Lists]

[PATCH 1/2] HFSC: Fix indentations

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH 1/2] HFSC: Fix indentations
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Thu, 18 Mar 2004 17:46:41 +0100
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1
Hi Dave,

this patch fixes broken indentations in HFSC from the u_intXX_t -> uXX change.

Best regards
Patrick
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/03/17 03:01:46+01:00 kaber@xxxxxxxxx 
#   [NET_SCHED}: Fix indentations in HFSC scheduler
# 
# net/sched/sch_hfsc.c
#   2004/03/17 03:01:37+01:00 kaber@xxxxxxxxx +17 -20
#   [NET_SCHED}: Fix indentations in HFSC scheduler
# 
diff -Nru a/net/sched/sch_hfsc.c b/net/sched/sch_hfsc.c
--- a/net/sched/sch_hfsc.c      Thu Mar 18 02:34:11 2004
+++ b/net/sched/sch_hfsc.c      Thu Mar 18 02:34:11 2004
@@ -118,7 +118,7 @@
 
 struct hfsc_class
 {
-       u32     classid;        /* class id */
+       u32             classid;        /* class id */
        unsigned int    refcnt;         /* usage count */
 
        struct tc_stats stats;          /* generic statistics */
@@ -138,28 +138,28 @@
        struct list_head hlist;         /* hash list member */
        struct list_head dlist;         /* drop list member */
 
-       u64     cl_total;       /* total work in bytes */
-       u64     cl_cumul;       /* cumulative work in bytes done by
+       u64     cl_total;               /* total work in bytes */
+       u64     cl_cumul;               /* cumulative work in bytes done by
                                           real-time criteria */
 
-       u64     cl_d;           /* deadline*/
-       u64     cl_e;           /* eligible time */
-       u64     cl_vt;          /* virtual time */
-       u64     cl_f;           /* time when this class will fit for
+       u64     cl_d;                   /* deadline*/
+       u64     cl_e;                   /* eligible time */
+       u64     cl_vt;                  /* virtual time */
+       u64     cl_f;                   /* time when this class will fit for
                                           link-sharing, max(myf, cfmin) */
-       u64     cl_myf;         /* my fit-time (calculated from this
+       u64     cl_myf;                 /* my fit-time (calculated from this
                                           class's own upperlimit curve) */
-       u64     cl_myfadj;      /* my fit-time adjustment (to cancel
+       u64     cl_myfadj;              /* my fit-time adjustment (to cancel
                                           history dependence) */
-       u64     cl_cfmin;       /* earliest children's fit-time (used
+       u64     cl_cfmin;               /* earliest children's fit-time (used
                                           with cl_myf to obtain cl_f) */
-       u64     cl_cvtmin;      /* minimal virtual time among the
+       u64     cl_cvtmin;              /* minimal virtual time among the
                                           children fit for link-sharing
                                           (monotonic within a period) */
-       u64     cl_vtadj;       /* intra-period cumulative vt
+       u64     cl_vtadj;               /* intra-period cumulative vt
                                           adjustment */
-       u64     cl_vtoff;       /* inter-period cumulative vt offset */
-       u64     cl_cvtmax;      /* max child's vt in the last period */
+       u64     cl_vtoff;               /* inter-period cumulative vt offset */
+       u64     cl_cvtmax;              /* max child's vt in the last period */
 
        struct internal_sc cl_rsc;      /* internal real-time service curve */
        struct internal_sc cl_fsc;      /* internal fair service curve */
@@ -179,8 +179,7 @@
 
 struct hfsc_sched
 {
-       u16     defcls;                 /* default class id */
-
+       u16     defcls;                         /* default class id */
        struct hfsc_class root;                 /* root class */
        struct hfsc_class *last_xmit;           /* class that transmitted last
                                                   packet (for requeueing) */
@@ -566,8 +565,7 @@
  * service curve starting at (x, y).
  */
 static void
-rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x,
-                                                            u64 y)
+rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y)
 {
        rtsc->x    = x;
        rtsc->y    = y;
@@ -626,8 +624,7 @@
  * runtime service curve and the service curve starting at (x, y).
  */
 static void
-rtsc_min(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x,
-                                                           u64 y)
+rtsc_min(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y)
 {
        u64 y1, y2, dx, dy;
        u32 dsm;
<Prev in Thread] Current Thread [Next in Thread>