archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <>
Cc: Sean Tranchetti <>,
	"David S. Miller" <>,
	Jakub Kicinski <>,,
Subject: Re: [PATCH net-next] net: qualcomm: rmnet: fix two pointer math bugs
Date: Mon, 21 Jun 2021 10:11:58 +0300	[thread overview]
Message-ID: <20210621071158.GA1901@kadam> (raw)
In-Reply-To: <>

On Sat, Jun 19, 2021 at 01:12:09PM -0600, wrote:
> On 2021-06-19 07:52, Dan Carpenter wrote:
> Hi Dan
> Thanks for fixing this. Could you cast the ip4h to char* instead of void*.
> Looks like gcc might raise issues if -Wpointer-arith is used.

The fix for that is to not enable -Wpointer-arith.  The warning is dumb.

dan carpenter

  reply	other threads:[~2021-06-21  7:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19 13:52 [PATCH net-next] net: qualcomm: rmnet: fix two pointer math bugs Dan Carpenter
2021-06-19 19:12 ` subashab
2021-06-21  7:11   ` Dan Carpenter [this message]
2021-06-21  7:18     ` Dan Carpenter
2021-06-21 16:44       ` subashab
2021-06-21 19:30 ` patchwork-bot+netdevbpf

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:

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

  git send-email \
    --in-reply-to=20210621071158.GA1901@kadam \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).