public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Malcolm Priestley <tvboxspy@gmail.com>
To: Antti Palosaari <crope@iki.fi>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: dvb_usb_v2: use pointers to properties[REGRESSION]
Date: Fri, 15 Jun 2012 23:11:13 +0100	[thread overview]
Message-ID: <1339798273.12274.21.camel@Route3278> (raw)

Hi Antti

You can't have dvb_usb_device_properties as constant structure pointer.

At run time it needs to be copied to a private area.

Two or more devices of the same type on the system will be pointing to
the same structure.

Any changes they make to the structure will be common to all.

Regards


Malcolm


             reply	other threads:[~2012-06-15 22:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 22:11 Malcolm Priestley [this message]
2012-06-15 22:54 ` dvb_usb_v2: use pointers to properties[REGRESSION] Antti Palosaari
2012-06-16  0:35   ` Malcolm Priestley
2012-06-16  0:55     ` Antti Palosaari
2012-06-16  1:16       ` Antti Palosaari
2012-06-16 12:06         ` Malcolm Priestley
2012-06-16 15:52           ` Antti Palosaari
2012-06-16 18:12             ` Malcolm Priestley
2012-06-16 18:41               ` Antti Palosaari
2012-06-16 20:17                 ` Malcolm Priestley
2012-06-16 20:27                   ` Antti Palosaari

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=1339798273.12274.21.camel@Route3278 \
    --to=tvboxspy@gmail.com \
    --cc=crope@iki.fi \
    --cc=linux-media@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