From: Tobias Klauser <tklauser@distanz.ch>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] net: emaclite: Use resource_size
Date: Thu, 06 May 2010 12:06:58 +0000 [thread overview]
Message-ID: <20100506120658.GZ9489@distanz.ch> (raw)
In-Reply-To: <1273133540-6894-1-git-send-email-tklauser@distanz.ch>
On 2010-05-06 at 12:07:05 +0200, Dan Carpenter <error27@gmail.com> wrote:
> Since you're doing this, here are some smatch warnings with potential
> off-by-one bugs:
>
> drivers/net/3c507.c +454 el16_probe1(88) warn: consider using resource_size() here
> drivers/scsi/aic7xxx_old.c +8430 aic7xxx_alloc(30) warn: consider using resource_size() here
> drivers/scsi/aic7xxx_old.c +9685 aic7xxx_detect(706) warn: consider using resource_size() here
> drivers/scsi/aic7xxx_old.c +9698 aic7xxx_detect(719) warn: consider using resource_size() here
> drivers/scsi/aic7xxx_old.c +9706 aic7xxx_detect(727) warn: consider using resource_size() here
> drivers/scsi/aic7xxx_old.c +9751 aic7xxx_detect(772) warn: consider using resource_size() here
> drivers/scsi/aic7xxx_old.c +10950 aic7xxx_release(14) warn: consider using resource_size() here
Thanks a lot. I'll take a look at those too,
Cheers,
Tobias
prev parent reply other threads:[~2010-05-06 12:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 8:12 [PATCH] net: emaclite: Use resource_size Tobias Klauser
2010-05-06 8:23 ` David Miller
2010-05-06 10:07 ` Dan Carpenter
2010-05-06 10:45 ` Dan Carpenter
2010-05-06 12:06 ` Tobias Klauser [this message]
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=20100506120658.GZ9489@distanz.ch \
--to=tklauser@distanz.ch \
--cc=kernel-janitors@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