16 Jul, 2020

1 commit

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Signed-off-by: Kalle Valo
    Link: https://lore.kernel.org/r/20200710062151.28871-1-grandmaster@al2klimov.de

    Alexander A. Klimov
     

09 Aug, 2018

2 commits

  • Use the standard WARN_ON instead.
    If a small kernel is desired, WARN_ON can be disabled globally.

    Also remove SSB_DEBUG. Besides WARN_ON it only adds a tiny debug check.
    Include this check unconditionally.

    Signed-off-by: Michael Buesch
    Signed-off-by: Kalle Valo

    Michael Büsch
     
  • Replace the ssb printk wrappers by standard print helpers.
    Also remove SSB_SILENT. Nobody should use it anyway.

    Originally submitted by Joe Perches .
    Modified to add dev_... based printks.

    Signed-off-by: Michael Buesch
    Tested-by: Michael Buesch
    Cc: Joe Perches
    Signed-off-by: Kalle Valo

    Michael Büsch
     

09 Jun, 2015

1 commit

  • Dan Carpenter reported missing brackets which resulted in reading a
    wrong crystalfreq value. I also noticed that the result of this
    function is ignored.

    Reported-By: Dan Carpenter
    Signed-off-by: Hauke Mehrtens
    Signed-off-by: Michael Buesch
    Cc: davem@davemloft.net
    Cc: netdev@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/10536/
    Signed-off-by: Ralf Baechle

    Hauke Mehrtens
     

01 Apr, 2015

1 commit

  • There are two reasons for having this header in the common place:
    1) Simplifying drivers that read NVRAM entries. We will be able to
    safely call bcm47xx_nvram_* functions without #ifdef-s.
    2) Getting NVRAM driver out of MIPS arch code. This is needed to support
    BCM5301X arch which also requires this NVRAM driver. Patch for that
    will follow once we get is reviewed.

    Signed-off-by: Rafał Miłecki
    Acked-by: Hauke Mehrtens
    Cc: linux-mips@linux-mips.org
    Cc: Arnd Bergmann
    Cc: Paul Walmsley
    Cc: linux-soc@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8619/
    Signed-off-by: Ralf Baechle

    Rafał Miłecki
     

26 Apr, 2013

1 commit


24 Apr, 2013

1 commit


10 Apr, 2013

1 commit

  • And make use of it in b43. This fixes a regression introduced with
    49d55cef5b1925a5c1efb6aaddaa40fc7c693335
    b43: N-PHY: implement spurious tone avoidance
    This commit made BCM4322 use only MCS 0 on channel 13, which of course
    resulted in performance drop (down to 0.7Mb/s).

    Reported-by: Stefan Brüns
    Signed-off-by: Rafał Miłecki
    Cc: Stable
    Signed-off-by: John W. Linville

    Rafał Miłecki
     

07 Mar, 2013

1 commit


16 Feb, 2013

1 commit


07 Dec, 2012

1 commit


30 Oct, 2012

1 commit


07 Feb, 2012

1 commit


01 Nov, 2011

1 commit

  • Or we will get things like this when we remove the implicit path:

    drivers/ssb/embedded.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
    drivers/ssb/driver_chipcommon.c:432: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
    drivers/ssb/driver_chipcommon_pmu.c:607: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
    drivers/ssb/pcihost_wrapper.c:120: error: ‘THIS_MODULE’ undeclared (first use in this function)
    drivers/ssb/driver_pcicore.c:721: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
    drivers/ssb/driver_gige.c:249: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

26 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    fs: Merge split strings
    treewide: fix potentially dangerous trailing ';' in #defined values/expressions
    uwb: Fix misspelling of neighbourhood in comment
    net, netfilter: Remove redundant goto in ebt_ulog_packet
    trivial: don't touch files that are removed in the staging tree
    lib/vsprintf: replace link to Draft by final RFC number
    doc: Kconfig: `to be' -> `be'
    doc: Kconfig: Typo: square -> squared
    doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
    drivers/net: static should be at beginning of declaration
    drivers/media: static should be at beginning of declaration
    drivers/i2c: static should be at beginning of declaration
    XTENSA: static should be at beginning of declaration
    SH: static should be at beginning of declaration
    MIPS: static should be at beginning of declaration
    ARM: static should be at beginning of declaration
    rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
    Update my e-mail address
    PCIe ASPM: forcedly -> forcibly
    gma500: push through device driver tree
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-ep93xx/dma-m2p.c (deleted)
    - drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
    - drivers/net/r8169.c (just context changes)

    Linus Torvalds
     

07 Jul, 2011

1 commit


18 Jun, 2011

1 commit

  • warning message
    drivers/ssb/driver_chipcommon_pmu.c: In function ssb_pmu_resources_init
    drivers/ssb/driver_chipcommon_pmu.c:420:15: warning: updown_tab_size may
    be used uninitilized in this function.

    updown_tab_size and depend_tab_size may not be set in the bus->chip_id
    switch statement, so set to 0 by default to avoid using uninitialized
    stack space.

    Signed-off-by: Connor Hansen
    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Connor Hansen
     

26 Apr, 2011

1 commit


04 Jun, 2010

1 commit


20 Feb, 2010

1 commit


29 Aug, 2009

1 commit


10 Feb, 2009

1 commit