All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: sjur.brandeland@stericsson.com
Cc: netdev@vger.kernel.org, marcel@holtmann.org,
	daniel.martensson@stericsson.com, sjurbr@gmail.com
Subject: Re: [PATCH net-next-2.6 v8 00/12] net-caif: introducing CAIF protocol stack
Date: Tue, 30 Mar 2010 01:05:19 -0700 (PDT)	[thread overview]
Message-ID: <20100330.010519.128602651.davem@davemloft.net> (raw)
In-Reply-To: <1269934228-23292-1-git-send-email-sjur.brandeland@stericsson.com>


You're directly accessing SKB data members instead of using
the portable interfaces defined in linux/skbuff.h, therefore
the build fails on 64-bit.

How many revisions of this patch set and not once has it been even
build tested on 64-bit?

net/caif/cfpkt_skbuff.c: In function ‘cfpkt_peek_head’:
net/caif/cfpkt_skbuff.c:121: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)
net/caif/cfpkt_skbuff.c: In function ‘cfpkt_append’:
net/caif/cfpkt_skbuff.c:336: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)
net/caif/cfpkt_skbuff.c:352: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)
net/caif/cfpkt_skbuff.c:358: warning: assignment makes integer from pointer without a cast
net/caif/cfpkt_skbuff.c:364: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)
net/caif/cfpkt_skbuff.c:364: warning: passing argument 1 of ‘__builtin_memcpy’ makes pointer from integer without a cast
net/caif/cfpkt_skbuff.c:364: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
net/caif/cfpkt_skbuff.c: In function ‘cfpkt_split’:
net/caif/cfpkt_skbuff.c:377: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘u8 *’)
net/caif/cfpkt_skbuff.c:382: warning: comparison between pointer and integer
net/caif/cfpkt_skbuff.c:397: warning: assignment makes integer from pointer without a cast
net/caif/cfpkt_skbuff.c: In function ‘cfpkt_log_pkt’:
net/caif/cfpkt_skbuff.c:425: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)
net/caif/cfpkt_skbuff.c:427: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)
net/caif/cfpkt_skbuff.c:430: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char *’)

  parent reply	other threads:[~2010-03-30  8:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30  7:30 [PATCH net-next-2.6 v8 00/12] net-caif: introducing CAIF protocol stack sjur.brandeland
2010-03-30  7:30 ` [PATCH net-next-2.6 v8 01/12] net-caif: add CAIF protocol definitions sjur.brandeland
2010-03-30  7:30   ` [PATCH net-next-2.6 v8 02/12] net-caif: add CAIF socket and configuration headers sjur.brandeland
2010-03-30  7:30     ` [PATCH net-next-2.6 v8 03/12] net-caif: add CAIF core protocol stack header files sjur.brandeland
2010-03-30  7:30       ` [PATCH net-next-2.6 v8 04/12] net-caif: add CAIF Link layer device " sjur.brandeland
2010-03-30  7:30         ` [PATCH net-next-2.6 v8 05/12] net-caif: add CAIF core protocol stack sjur.brandeland
2010-03-30  7:30           ` [PATCH net-next-2.6 v8 06/12] net-caif: add CAIF generic caif support functions sjur.brandeland
2010-03-30  7:30             ` [PATCH net-next-2.6 v8 07/12] net-caif: add CAIF device registration functionality sjur.brandeland
2010-03-30  7:30               ` [PATCH net-next-2.6 v8 08/12] net-caif: add CAIF socket implementation sjur.brandeland
2010-03-30  7:30                 ` [PATCH net-next-2.6 v8 09/12] net-caif: add CAIF netdevice sjur.brandeland
2010-03-30  7:30                   ` [PATCH net-next-2.6 v8 10/12] net-caif: add CAIF Kconfig and Makefiles sjur.brandeland
2010-03-30  7:30                     ` [PATCH net-next-2.6 v8 11/12] net-caif: add CAIF documentation sjur.brandeland
2010-03-30  7:30                       ` [PATCH net-next-2.6 v8 12/12] net-caif-driver: add CAIF serial driver (ldisc) sjur.brandeland
2010-03-30  8:05 ` David Miller [this message]
2010-03-30 23:16 ` [PATCH net-next-2.6 v7 00/12] net-caif: introducing CAIF protocol stack sjur.brandeland
2010-03-30 23:45   ` David Miller
2010-03-30 23:56 [PATCH net-next-2.6 v8 " sjur.brandeland
2010-03-31  2:42 ` David Miller

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=20100330.010519.128602651.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=daniel.martensson@stericsson.com \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=sjur.brandeland@stericsson.com \
    --cc=sjurbr@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.