public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org, Mike Frysinger <vapier.adi@gmail.com>,
	Chen Liqin <liqin.chen@sunplusct.com>
Subject: What's in asm-generic.git
Date: Thu, 3 Dec 2009 19:14:08 +0000	[thread overview]
Message-ID: <200912031914.08975.arnd@arndb.de> (raw)

This is the contents of the "next" branch of
git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git,
as currently found in linux-next.

Only two files are touched, most of the changes are bugfixes
to the lib/checksum.c file that I introduced with the original
asm-generic merge.

If anything is missing here, please tell me.

Diffstat:

 include/asm-generic/unistd.h |    4 ++--
 lib/checksum.c               |   14 ++++++++------
 2 files changed, 10 insertions(+), 8 deletions(-)

Full log:

commit 34b2fb828b63aa1178313ed0478955636dcb49be
Author: Chen Liqin <liqin.chen@sunplusct.com>
Date:   Mon Oct 26 11:09:29 2009 +0800

    asm-generic: Fix typo in asm-generic/unistd.h.
    
    Fixed __NR_ftruncate and __NR_ftruncate64 define in asm-generic/unistd.h.
    
    Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

 include/asm-generic/unistd.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 0a5549ed163520787f76b7515dfe9d9aa1c7ae37
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Tue Jun 23 22:52:51 2009 +0200

    lib/checksum: fix one more thinko
    
    When do_csum gets unaligned data, we really need to treat
    the first byte as an even byte, not an odd byte, because
    we swap the two halves later.
    
    Found by Mike's checksum-selftest module.
    
    Reported-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

 lib/checksum.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 20c1f641bb80fb272dec959a5caabed92e5a422e
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Tue Jun 23 21:37:26 2009 +0200

    lib/checksum.c: make do_csum optional
    
    Mike Frysinger suggested that do_csum should be optional
    so that an architecture can use the generic checksum code
    but still provide an optimized fast-path for the most
    critical function.
    
    This can mean an implementation using inline assembly,
    or in case of Alpha one using 64-bit arithmetic in C.
    
    Cc: Mike Frysinger <vapier@gentoo.org>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

 lib/checksum.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit c44ba9f6684946b156335da6a6d55f0b8cf7cb72
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Tue Jun 23 21:22:58 2009 +0200

    lib/checksum.c: use 32-bit arithmetic consistently
    
    The use of 'unsigned long' variables in the 32-bit part of do_csum()
    is confusing at best, and potentially broken for long input on 64-bit
    machines.
    
    This changes the code to use 'unsigned int' instead, which makes
    the code behave in the same (correct) way on both 32 and 64 bit
    machines.
    
    Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

 lib/checksum.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

             reply	other threads:[~2009-12-03 19:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 19:14 Arnd Bergmann [this message]
2009-12-07  5:54 ` What's in asm-generic.git liqin.chen
2009-12-07 15:14   ` Arnd Bergmann
2009-12-10 21:10     ` Arnd Bergmann
2009-12-10 21:17       ` Mike Frysinger
2009-12-10 21:25         ` Arnd Bergmann
2009-12-11 12:54           ` Geert Uytterhoeven
2009-12-11 13:06             ` Arnd Bergmann
2009-12-11 13:58               ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200912031914.08975.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liqin.chen@sunplusct.com \
    --cc=vapier.adi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox