mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: agrover@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: drivers/target/target_core_transport.c breakage on i386
Date: Mon, 8 Aug 2011 01:10:55 +0100	[thread overview]
Message-ID: <20110808001055.GB2203@ZenIV.linux.org.uk> (raw)

In commit ec98f7825c6eaa4a9afb0eb518826efc8a2ed4a2
Author: Andy Grover <agrover@redhat.com>
Date:   Wed Jul 20 19:28:46 2011 +0000

    target: Eliminate usage of struct se_mem

we got
+       task_count = DIV_ROUND_UP(sectors, dev_max_sectors);
and that's sector_t/sector_t.  64bit division on i386 is no-no in
the kernel - it emits __udivdi3 call and it's not there.  Can
sectors really reach 2^32 here?


             reply	other threads:[~2011-08-08  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08  0:10 Al Viro [this message]
2011-08-08 19:12 ` Nicholas A. Bellinger

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=20110808001055.GB2203@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=agrover@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome