summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 22:29:59 +1000
committerChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 22:29:59 +1000
commit9f4f9e69cfa1eb86ebac72b9d472ed4dafcba7c9 (patch)
treedd3e00e9d7155be835e9b4aa288a2e6f88077883 /COPYING
parentc80e4db976cc9af44f7029e9c55b878bda8d88fa (diff)
downloadmediapointer-dvb-s2-9f4f9e69cfa1eb86ebac72b9d472ed4dafcba7c9.tar.gz
mediapointer-dvb-s2-9f4f9e69cfa1eb86ebac72b9d472ed4dafcba7c9.tar.bz2
xc2028: don't duplicate max_len in priv
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> There is no need to duplicate the max_len field from the ctrl structure in the private data. If we use it directly from priv->ctrl, we can memcpy the structure (apart from strings) to reduce maintenance as it grows. Enforce a minimum max_len length of 8 data bytes (+ 1 address byte) as seems to be required by the tuner. Also, use kstrdup instead of open coding the string duplication. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions