aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorPetr Kulhavy <[email protected]>2016-02-24 16:27:16 +0100
committerFelipe Balbi <[email protected]>2016-03-04 15:14:46 +0200
commitead22caf8507c0533aab6b89e26776414b477b6f (patch)
tree17bddcfc475fc80ddf2deea4e7a781aceba0466a /lib/mpi/mpi-bit.c
parentb02038faa7f1b228983d05633c8345f826b20042 (diff)
usb: musb: core: added missing const qualifier to musb_hdrc_platform_data::config
The musb_hdrc_platform_data::config was defined as a non-const pointer. However some drivers (e.g. the ux500) set up this pointer to point to a static structure, which is potentially dangerous. Since the musb core uses the pointer in a read-only manner the const qualifier was added to protect the content of the config. Signed-off-by: Petr Kulhavy <[email protected]> Acked-by: Sergei Shtylyov <[email protected]> Signed-off-by: Bin Liu <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions