The only usage of device_type structure is getting stored as
a reference in the type field of device structure. This type
field is declared const. Therefore, the device_type structure
can never be modified and can be declared as const.
Signed-off-by: Bhumika Goyal
---
drivers/platform/x86/wmi.c
The only usage of device_type structure is getting stored as
a reference in the type field of device structure. This type
field is declared const. Therefore, the device_type structure
can never be modified and can be declared as const.
Signed-off-by: Bhumika Goyal
---
drivers/platform/x86/wmi.c
Make some pointers and function arguments as const. After this change,
make the structures of type cm_ll_data as const.
Bhumika Goyal (2):
ARM: OMAP2+: CM: make some pointers and function arguments as const
ARM: OMAP2+: CM: make cm_ll_data structures as const
arch/arm/mach-omap2/cm.h
Make these const as they are only getting passed to the functions
cm_register and cm_unregister having the arguments as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
arch/arm/mach-omap2/cm2xxx.c | 2 +-
arch/arm/mach-omap2/cm33xx.c | 2 +-
arch/arm/mach-omap2/cm
Make some pointers and function arguments as const. After this change,
make the structures of type cm_ll_data as const.
Bhumika Goyal (2):
ARM: OMAP2+: CM: make some pointers and function arguments as const
ARM: OMAP2+: CM: make cm_ll_data structures as const
arch/arm/mach-omap2/cm.h
Make these const as they are only getting passed to the functions
cm_register and cm_unregister having the arguments as const.
Signed-off-by: Bhumika Goyal
---
arch/arm/mach-omap2/cm2xxx.c | 2 +-
arch/arm/mach-omap2/cm33xx.c | 2 +-
arch/arm/mach-omap2/cm3xxx.c | 2 +-
arch/arm
of cm_unregister function as const as it is only
used inside an if condition.
Add const to the function prototypes too.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
arch/arm/mach-omap2/cm.h| 4 ++--
arch/arm/mach-omap2/cm_common.c | 6 +++---
2 files changed, 5 insertions(+), 5 del
of cm_unregister function as const as it is only
used inside an if condition.
Add const to the function prototypes too.
Signed-off-by: Bhumika Goyal
---
arch/arm/mach-omap2/cm.h| 4 ++--
arch/arm/mach-omap2/cm_common.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch
Make these structures as const as they are only passed to the function
intel_pmic_install_opregion_handler having the argument as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/acpi/pmic/intel_pmic_bxtwc.c | 2 +-
drivers/acpi/pmic/intel_pmic_chtwc.c | 2 +-
driver
Make these structures as const as they are only passed to the function
intel_pmic_install_opregion_handler having the argument as const.
Signed-off-by: Bhumika Goyal
---
drivers/acpi/pmic/intel_pmic_bxtwc.c | 2 +-
drivers/acpi/pmic/intel_pmic_chtwc.c | 2 +-
drivers/acpi/pmic
Make some structures and the argument of the function
intel_pmic_install_opregion_handler as const. After this change,
make the structures of type intel_pmic_opregion_data as const.
Bhumika Goyal (2):
ACPI / PMIC: Make some pointers, structure field and function argument
as const
, make the struct intel_pmic_opregion_data * argument of the
function intel_pmic_install_opregion_handler as const as it is only
getting stored in the data field of the intel_pmic_opregion
structure which is now made const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/acp
Make some structures and the argument of the function
intel_pmic_install_opregion_handler as const. After this change,
make the structures of type intel_pmic_opregion_data as const.
Bhumika Goyal (2):
ACPI / PMIC: Make some pointers, structure field and function argument
as const
, make the struct intel_pmic_opregion_data * argument of the
function intel_pmic_install_opregion_handler as const as it is only
getting stored in the data field of the intel_pmic_opregion
structure which is now made const.
Signed-off-by: Bhumika Goyal
---
drivers/acpi/pmic/intel_pmic.c | 10
On Thu, Oct 19, 2017 at 5:05 PM, Laurent Pinchart
wrote:
> Hi Christoph,
>
> On Thursday, 19 October 2017 17:06:57 EEST Christoph Hellwig wrote:
>> > Now we have 9 const instances of the config_item_type structure that are
>> > identical, with only the .ct_owner
On Thu, Oct 19, 2017 at 5:05 PM, Laurent Pinchart
wrote:
> Hi Christoph,
>
> On Thursday, 19 October 2017 17:06:57 EEST Christoph Hellwig wrote:
>> > Now we have 9 const instances of the config_item_type structure that are
>> > identical, with only the .ct_owner field set. Should they be all
Commit-ID: 642e641cbea57e559720b9df09889ffcf525cf04
Gitweb: https://git.kernel.org/tip/642e641cbea57e559720b9df09889ffcf525cf04
Author: Bhumika Goyal <bhumi...@gmail.com>
AuthorDate: Tue, 19 Sep 2017 16:40:43 +0530
Committer: Thomas Gleixner <t...@linutronix.de>
CommitDate:
Commit-ID: 642e641cbea57e559720b9df09889ffcf525cf04
Gitweb: https://git.kernel.org/tip/642e641cbea57e559720b9df09889ffcf525cf04
Author: Bhumika Goyal
AuthorDate: Tue, 19 Sep 2017 16:40:43 +0530
Committer: Thomas Gleixner
CommitDate: Thu, 19 Oct 2017 16:15:47 +0200
x86/events/amd/iommu
argument and the structure pointer const.
Add const to function prototypes too.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/cpufreq/arm_big_little.c | 6 +++---
drivers/cpufreq/arm_big_little.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/c
argument and the structure pointer const.
Add const to function prototypes too.
Signed-off-by: Bhumika Goyal
---
drivers/cpufreq/arm_big_little.c | 6 +++---
drivers/cpufreq/arm_big_little.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/cpufreq/arm_big_little.c b
Make these const as they are only getting passed to the functions
bL_cpufreq_{register/unregister} having the arguments as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/cpufreq/arm_big_little_dt.c| 2 +-
drivers/cpufreq/scpi-cpufreq.c | 2 +-
drivers/c
Make these const as they are only getting passed to the functions
bL_cpufreq_{register/unregister} having the arguments as const.
Signed-off-by: Bhumika Goyal
---
drivers/cpufreq/arm_big_little_dt.c| 2 +-
drivers/cpufreq/scpi-cpufreq.c | 2 +-
drivers/cpufreq/vexpress-spc-cpufreq.c
Make some function arguments as const. After this change make the
cpufreq_arm_bL_ops structures const.
Bhumika Goyal (2):
cpufreq: arm_big_little: make function argument and structure const
cpufreq: arm_big_little: make cpufreq_arm_bL_ops structures const
drivers/cpufreq/arm_big_little.c
Make some function arguments as const. After this change make the
cpufreq_arm_bL_ops structures const.
Bhumika Goyal (2):
cpufreq: arm_big_little: make function argument and structure const
cpufreq: arm_big_little: make cpufreq_arm_bL_ops structures const
drivers/cpufreq/arm_big_little.c
Make the struct cache_detail *tmpl argument of the function
cache_create_net as const as it is only getting passed to kmemup having
the argument as const void *.
Add const to the prototype too.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
include/linux/sunrpc/cache.h | 2 +-
net/
Make the struct cache_detail *tmpl argument of the function
cache_create_net as const as it is only getting passed to kmemup having
the argument as const void *.
Add const to the prototype too.
Signed-off-by: Bhumika Goyal
---
include/linux/sunrpc/cache.h | 2 +-
net/sunrpc/cache.c
Make these const as they are only getting passed to the function
cache_create_net having the argument as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
fs/nfsd/export.c| 4 ++--
fs/nfsd/nfs4idmap.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/f
Make these const as they are only getting passed to the function
cache_create_net having the argument as const.
Signed-off-by: Bhumika Goyal
---
fs/nfsd/export.c| 4 ++--
fs/nfsd/nfs4idmap.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/nfsd/export.c b/fs/nfsd
Make it const as it is only getting passed to the function
cache_create_net having the argument as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
fs/nfs/dns_resolve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_res
Make it const as it is only getting passed to the function
cache_create_net having the argument as const.
Signed-off-by: Bhumika Goyal
---
fs/nfs/dns_resolve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_resolve.c
index d25f10f..477934a
Make these const as they are only getting passed to the function
cache_create_net having the argument as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
net/sunrpc/auth_gss/svcauth_gss.c | 4 ++--
net/sunrpc/svcauth_unix.c | 4 ++--
2 files changed, 4 insertions
Make these const as they are only getting passed to the function
cache_create_net having the argument as const.
Signed-off-by: Bhumika Goyal
---
net/sunrpc/auth_gss/svcauth_gss.c | 4 ++--
net/sunrpc/svcauth_unix.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
Make the function argument as const. After thing change, make
the cache_detail structures as const.
Bhumika Goyal (4):
sunrpc: make the function arg as const
NFS: make cache_detail structures const
NFSD: make cache_detail structures const
SUNRPC: make cache_detail structures const
fs
Make the function argument as const. After thing change, make
the cache_detail structures as const.
Bhumika Goyal (4):
sunrpc: make the function arg as const
NFS: make cache_detail structures const
NFSD: make cache_detail structures const
SUNRPC: make cache_detail structures const
fs
made const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/clk/spear/clk-aux-synth.c | 2 +-
drivers/clk/spear/clk.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/spear/clk-aux-synth.c
b/drivers/clk/spear/clk-aux-synth.c
index f
made const.
Signed-off-by: Bhumika Goyal
---
drivers/clk/spear/clk-aux-synth.c | 2 +-
drivers/clk/spear/clk.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/spear/clk-aux-synth.c
b/drivers/clk/spear/clk-aux-synth.c
index f271c35..8bea5df 100644
Make these const as they are either stored in the masks 'const' field
of a clk_aux structure or passed to the function clk_register_aux
having the argument as const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/clk/spear/clk-aux-synth.c | 2 +-
drivers/clk
Make structure field and function argument as const. After this change,
make the structures as const.
Bhumika Goyal (2):
CLK: SPEAr: make structure field and function argument as const
CLK: SPEAr: make aux_clk_masks structures const
drivers/clk/spear/clk-aux-synth.c | 4 ++--
drivers/clk
Make these const as they are either stored in the masks 'const' field
of a clk_aux structure or passed to the function clk_register_aux
having the argument as const.
Signed-off-by: Bhumika Goyal
---
drivers/clk/spear/clk-aux-synth.c | 2 +-
drivers/clk/spear/spear1310_clock.c | 2 +-
drivers
Make structure field and function argument as const. After this change,
make the structures as const.
Bhumika Goyal (2):
CLK: SPEAr: make structure field and function argument as const
CLK: SPEAr: make aux_clk_masks structures const
drivers/clk/spear/clk-aux-synth.c | 4 ++--
drivers/clk
Make these structures const as they are only getting passed to the
functions vpfe_{register/unregister}_ccdc_device having the argument as
const.
Structures found using Coccinelle and changes done by hand.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/platform/d
Make these structures const as they are only getting passed to the
functions vpfe_{register/unregister}_ccdc_device having the argument as
const.
Structures found using Coccinelle and changes done by hand.
Signed-off-by: Bhumika Goyal
---
drivers/media/platform/davinci/dm355_ccdc.c | 2
Make some function arguments as const. After this changes make ccdc_hw_device
structures as const.
Bhumika Goyal (2):
[media] davinci: make function arguments const
[media] davinci: make ccdc_hw_device structures const
drivers/media/platform/davinci/ccdc_hw_device.h | 4 ++--
drivers/media
.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
drivers/media/platform/davinci/ccdc_hw_device.h | 4 ++--
drivers/media/platform/davinci/vpfe_capture.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/media/platform/davinci/ccdc_hw_device.h
b/drivers
Make some function arguments as const. After this changes make ccdc_hw_device
structures as const.
Bhumika Goyal (2):
[media] davinci: make function arguments const
[media] davinci: make ccdc_hw_device structures const
drivers/media/platform/davinci/ccdc_hw_device.h | 4 ++--
drivers/media
.
Signed-off-by: Bhumika Goyal
---
drivers/media/platform/davinci/ccdc_hw_device.h | 4 ++--
drivers/media/platform/davinci/vpfe_capture.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/media/platform/davinci/ccdc_hw_device.h
b/drivers/media/platform/davinci
to the argument of the function config_group_init_type_name
which is now const.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
fs/configfs/dir.c| 10 +-
fs/configfs/
to the argument of the function config_group_init_type_name
which is now const.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
fs/configfs/dir.c| 10 +-
fs/configfs/item.c | 6 +++---
fs
Make the ci_type field and some function arguments as const. After this
change, make config_item_type structures as const.
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
Bhumika Goyal (15):
configfs: make ci_type field, some pointers
Make the ci_type field and some function arguments as const. After this
change, make config_item_type structures as const.
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
Bhumika Goyal (15):
configfs: make ci_type field, some pointers
Make these structures const as they are only passed to the const
argument of the functions config_{group/item}_init_type_name.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
drivers/usb/
Make these structures const as they are only passed to the const
argument of the functions config_{group/item}_init_type_name.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
drivers/usb/gadget/function/f_acm.c
or they are
stored in the const "ci_type" field of a config_item structure.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
drivers/iio/dummy/iio_simple_dummy.c | 2 +-
drivers/
or they are
stored in the const "ci_type" field of a config_item structure.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the followup patches and the constification
patches into a series.
drivers/iio/dummy/iio_simple_dummy.c | 2 +-
drivers/iio/industrialio-configfs.c| 2 +
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make config_item_type structures const as they are either passed to a
function having the argument as const or used inside an if statement or
stored in the const "ci_type" field of a config_item structure.
Done using Coccinelle
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com&g
Make config_item_type structures const as they are either passed to a
function having the argument as const or used inside an if statement or
stored in the const "ci_type" field of a config_item structure.
Done using Coccinelle
Signed-off-by: Bhumika Goyal
---
* Changes in v2- C
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccienlle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccienlle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccienlle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccienlle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine all the
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the followup patches and the constificati
Make config_item_type structures const as they are either passed to a
function having the argument as const or used inside a if statement or
stored in the const "ci_type" field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com&g
Make config_item_type structures const as they are either passed to a
function having the argument as const or used inside a if statement or
stored in the const "ci_type" field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- C
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccienlle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in
Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.
Done using Coccienlle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
* Changes in v2- Combine
Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
* Changes in v2- Combine all the follow
On Mon, Oct 16, 2017 at 2:43 PM, Christoph Hellwig <h...@lst.de> wrote:
> On Thu, Oct 12, 2017 at 05:02:43PM +0200, Bhumika Goyal wrote:
>> Actually, this patch is dependent on the patches in the links
>> https://lkml.org/lkml/2017/10/11/375 and
>> https://patchwo
On Mon, Oct 16, 2017 at 2:43 PM, Christoph Hellwig wrote:
> On Thu, Oct 12, 2017 at 05:02:43PM +0200, Bhumika Goyal wrote:
>> Actually, this patch is dependent on the patches in the links
>> https://lkml.org/lkml/2017/10/11/375 and
>> https://patchwork.kernel.org/patc
On Mon, Oct 16, 2017 at 1:55 PM, Alexander Shishkin
<alexander.shish...@linux.intel.com> wrote:
> Bhumika Goyal <bhumi...@gmail.com> writes:
>
>> On Thu, Oct 12, 2017 at 2:12 PM, Bhumika Goyal <bhumi...@gmail.com> wrote:
>>> This is a followup patch for:
On Mon, Oct 16, 2017 at 1:55 PM, Alexander Shishkin
wrote:
> Bhumika Goyal writes:
>
>> On Thu, Oct 12, 2017 at 2:12 PM, Bhumika Goyal wrote:
>>> This is a followup patch for:
>>> https://patchwork.kernel.org/patch/649/ and
>>> https://lk
Make the function argument of davinci_common_init const.
After doing this change make the structures davinci_soc_info const.
Bhumika Goyal (2):
ARM: davinci: make the function argument as const
ARM: davinci: make davinci_soc_info structures const
arch/arm/mach-davinci/common.c
Make the function argument of davinci_common_init const.
After doing this change make the structures davinci_soc_info const.
Bhumika Goyal (2):
ARM: davinci: make the function argument as const
ARM: davinci: make davinci_soc_info structures const
arch/arm/mach-davinci/common.c
and the structures can be const.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
arch/arm/mach-davinci/da830.c | 2 +-
arch/arm/mach-davinci/da850.c | 2 +-
arch/arm/mach-davinci/dm355.c | 2 +-
arch/arm/mach-davinci/dm365.c | 2 +-
arch/arm/mach-davinci/dm644x
and the structures can be const.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal
---
arch/arm/mach-davinci/da830.c | 2 +-
arch/arm/mach-davinci/da850.c | 2 +-
arch/arm/mach-davinci/dm355.c | 2 +-
arch/arm/mach-davinci/dm365.c | 2 +-
arch/arm/mach-davinci/dm644x.c | 2 +-
arch/arm/mach
to the prototype too.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
arch/arm/mach-davinci/common.c | 2 +-
arch/arm/mach-davinci/include/mach/common.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c
to the prototype too.
Signed-off-by: Bhumika Goyal
---
arch/arm/mach-davinci/common.c | 2 +-
arch/arm/mach-davinci/include/mach/common.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c
index 9f9fbfa..bcb6a7b
to the prototype too.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
sound/oss/dev_table.c | 2 +-
sound/oss/dev_table.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/oss/dev_table.c b/sound/oss/dev_table.c
index 6dad515..dbb9a3b 100644
--- a/sou
to the prototype too.
Signed-off-by: Bhumika Goyal
---
sound/oss/dev_table.c | 2 +-
sound/oss/dev_table.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/oss/dev_table.c b/sound/oss/dev_table.c
index 6dad515..dbb9a3b 100644
--- a/sound/oss/dev_table.c
+++ b/sound
Make the function argument of function sound_install_audiodrv const.
After this change, make the structures audio_driver const as they are
only passed to the const argument (made const in Patch[1/2])
of the function sound_install_audiodrv .
Bhumika Goyal (2):
sound: oss: make the function
Make the function argument of function sound_install_audiodrv const.
After this change, make the structures audio_driver const as they are
only passed to the const argument (made const in Patch[1/2])
of the function sound_install_audiodrv .
Bhumika Goyal (2):
sound: oss: make the function
This is a followup patch for [PATCH 1/2].
Make these structures const as they are only passed to the const
argument of the function sound_install_audiodrv.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
sound/oss/pas2_pcm.c | 2 +-
sound/oss/waveartist.c | 2 +-
2 files chan
This is a followup patch for [PATCH 1/2].
Make these structures const as they are only passed to the const
argument of the function sound_install_audiodrv.
Signed-off-by: Bhumika Goyal
---
sound/oss/pas2_pcm.c | 2 +-
sound/oss/waveartist.c | 2 +-
2 files changed, 2 insertions(+), 2
On Fri, Oct 13, 2017 at 6:08 PM, Julia Lawall <julia.law...@lip6.fr> wrote:
>
>
> On Fri, 13 Oct 2017, Bhumika Goyal wrote:
>
>> These structures are passed to the eeh_ops_register function during the
>> initialization phase. There they get stored in a structur
On Fri, Oct 13, 2017 at 6:08 PM, Julia Lawall wrote:
>
>
> On Fri, 13 Oct 2017, Bhumika Goyal wrote:
>
>> These structures are passed to the eeh_ops_register function during the
>> initialization phase. There they get stored in a structure variable
>> which onl
This is a followup patch for: https://lkml.org/lkml/2017/10/13/476
Make the function argument of fc_attach_transport as const as it is
only stored in the const field 'f' (made const in the patch in the link)
of a fc_internal structure.
Signed-off-by: Bhumika Goyal <bhumi...@gmail.
This is a followup patch for: https://lkml.org/lkml/2017/10/13/476
Make the function argument of fc_attach_transport as const as it is
only stored in the const field 'f' (made const in the patch in the link)
of a fc_internal structure.
Signed-off-by: Bhumika Goyal
---
This change allows some
The 'f' field of the fc_internal structure do not modify the fields
of the fc_function_template structure it points to. And there are no
other pointers initialized with this field 'f'. So, the field 'f' is
never modified and therefore make it const.
Signed-off-by: Bhumika Goyal <bh
The 'f' field of the fc_internal structure do not modify the fields
of the fc_function_template structure it points to. And there are no
other pointers initialized with this field 'f'. So, the field 'f' is
never modified and therefore make it const.
Signed-off-by: Bhumika Goyal
---
drivers/scsi
1 - 100 of 1340 matches
Mail list logo