31 Oct, 2005

2 commits

  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     
  • Convert most of the remaining "Using plain integer as NULL pointer" sparse
    warnings to use NULL. (Not duplicating patches that are already in -mm,
    -bird, or -kj.)

    Convert isdn driver struct initializer to use C99 syntax.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

29 Oct, 2005

1 commit


29 Sep, 2005

1 commit


24 Sep, 2005

1 commit


18 Sep, 2005

1 commit


17 Sep, 2005

1 commit


15 Sep, 2005

1 commit


13 Sep, 2005

1 commit


11 Sep, 2005

1 commit

  • This patch does a full cleanup of 'NULL checks before vfree', and a partial
    cleanup of calls to kfree for all of drivers/ - the kfree bit is partial in
    that I only did the files that also had vfree calls in them. The patch
    also gets rid of some redundant (void *) casts of pointers being passed to
    [vk]free, and a some tiny whitespace corrections also crept in.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     

08 Sep, 2005

3 commits

  • CARD_... in hisax are all used with #if; CARD_FN_ENTERNOW_PCI lacks define
    to 0 if corresponding config option is not set.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    viro@ZenIV.linux.org.uk
     
  • Here's a small warning fix for drivers/isdn/i4l/isdn_v110.c
    drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized in this function

    In addition to Karsten Keil signing off on the patch, Thomas Pfeiffer also
    commented on the patch, saying
    "initializing ret with the value zero is correct and should be done."

    Please apply.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Karsten Keil
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • asm/segment.h varies greatly on different architectures but is clearly
    deprecated. Removing all non-architecture consumers will make it easier
    for us to get ride of asm/segment.h all together.

    Signed-off-by: Kumar Gala
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kumar Gala
     

30 Aug, 2005

2 commits

  • Instead, set it in one place, namely the beginning of
    netif_receive_skb().

    Based upon suggestions from Jamal Hadi Salim.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Remove the "list" member of struct sk_buff, as it is entirely
    redundant. All SKB list removal callers know which list the
    SKB is on, so storing this in sk_buff does nothing other than
    taking up some space.

    Two tricky bits were SCTP, which I took care of, and two ATM
    drivers which Francois Romieu fixed
    up.

    Signed-off-by: David S. Miller
    Signed-off-by: Francois Romieu

    David S. Miller
     

28 Aug, 2005

1 commit


24 Aug, 2005

1 commit


09 Aug, 2005

1 commit


28 Jul, 2005

3 commits

  • `gcc -W' likes to complain if the static keyword is not at the beginning of
    the declaration. This patch fixes all remaining occurrences of "inline
    static" up with "static inline" in the entire kernel tree (140 occurrences in
    47 files).

    While making this change I came across a few lines with trailing whitespace
    that I also fixed up, I have also added or removed a blank line or two here
    and there, but there are no functional changes in the patch.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • turn many #if $undefined_string into #ifdef $undefined_string to fix some
    warnings after -Wno-def was added to global CFLAGS

    Signed-off-by: Olaf Hering
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • This patch adds support for the Olitec ISDN PCI card in the hisax gazel
    driver. The gazel driver supports this card, but wasn't aware of its PCI
    ids. Users used to modify the PCI ids of a supported card in
    include/linux/pci_ids.h and recompile their kernel to get this card
    running, as said in most Howtos. This patch makes the hisax gazel driver
    recognize the PCI ids of the Olitec ISDN PCI card.

    Signed-off-by: Olivier Blin
    Signed-off-by: Karsten Keil
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olivier Blin
     

09 Jul, 2005

1 commit

  • This is part of the grand scheme to eliminate the qlen
    member of skb_queue_head, and subsequently remove the
    'list' member of sk_buff.

    Most users of skb_queue_len() want to know if the queue is
    empty or not, and that's trivially done with skb_queue_empty()
    which doesn't use the skb_queue_head->qlen member and instead
    uses the queue list emptyness as the test.

    Signed-off-by: David S. Miller

    David S. Miller
     

08 Jul, 2005

2 commits


29 Jun, 2005

2 commits


28 Jun, 2005

5 commits


26 Jun, 2005

6 commits

  • This patch contains the following possible cleanups:
    - make needlessly global code static
    - remove the compiled but unused st5481_hdlc.{c,h}
    - kill enternow.h
    - enternow_pci.c: kill InByte/OutByte/BYTE
    - isdnl2.c: kill FreeSkb
    - remove or #if 0 the following unused functions:
    - config.c: IsdnCardState
    - ipacx.c: ipacx_new_ph
    - ipacx.c: dch_bh
    - ipacx.c: setup_ipacx
    - isdnl2.c: IsRR

    Signed-off-by: Adrian Bunk
    Acked-by: Kai Germaschewski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch #if 0's an unused function.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following cleanups:
    - make some needlessly global functions static
    - b1dma.c __init/__exit the functions b1dma_{init,exit}

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make needlessly global code static
    - remove the following unused global function:
    - isdn_audio.c: isdn_audio_2adpcm_flush
    - remove the following unused struct:
    - isdn_net.c: isdn_concap_demand_dial_dops

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make some needlessly global functions static
    - remove the following unused global functions:
    - callbacks.c: cb_out_3
    - capi.c: capi_decode_disc_conf

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanips:
    - make some needlessly global code static
    - remove the compiled but completely unused debug.c
    - remove or #if 0 the following unused global functions:
    - command.c: loopback
    - command.c: loadproc
    - init.c: irq_supported
    - packet.c: print_skb
    - shmem.c: memset_shmem
    - timer.c: trace_timer

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

21 Jun, 2005

1 commit


01 May, 2005

1 commit


25 Apr, 2005

1 commit