aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-21 00:12:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-21 00:12:50 -0400
commit69a7aebcf019ab3ff5764525ad6858fbe23bb86d (patch)
tree7211df5704b743a7667159748c670a9744164482 /include
parentd464c92b5234227c1698862a1906827e2e398ae0 (diff)
parentf1f996b66cc3908a8f5ffccc2ff41840e92f3b10 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina: "It's indeed trivial -- mostly documentation updates and a bunch of typo fixes from Masanari. There are also several linux/version.h include removals from Jesper." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits) kcore: fix spelling in read_kcore() comment constify struct pci_dev * in obvious cases Revert "char: Fix typo in viotape.c" init: fix wording error in mm_init comment usb: gadget: Kconfig: fix typo for 'different' Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c" writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header writeback: fix typo in the writeback_control comment Documentation: Fix multiple typo in Documentation tpm_tis: fix tis_lock with respect to RCU Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c" Doc: Update numastat.txt qla4xxx: Add missing spaces to error messages compiler.h: Fix typo security: struct security_operations kerneldoc fix Documentation: broken URL in libata.tmpl Documentation: broken URL in filesystems.tmpl mtd: simplify return logic in do_map_probe() mm: fix comment typo of truncate_inode_pages_range power: bq27x00: Fix typos in comment ...
Diffstat (limited to 'include')
-rw-r--r--include/linux/compiler.h2
-rw-r--r--include/linux/pci.h12
-rw-r--r--include/linux/security.h2
-rw-r--r--include/linux/writeback.h2
-rw-r--r--include/trace/events/power.h1
5 files changed, 9 insertions, 10 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 4a243546d14..923d093c9ce 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -236,7 +236,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect);
236 236
237/* 237/*
238 * Rather then using noinline to prevent stack consumption, use 238 * Rather then using noinline to prevent stack consumption, use
239 * noinline_for_stack instead. For documentaiton reasons. 239 * noinline_for_stack instead. For documentation reasons.
240 */ 240 */
241#define noinline_for_stack noinline 241#define noinline_for_stack noinline
242 242
diff --git a/include/linux/pci.h b/include/linux/pci.h
index d4afd703e94..b843fe79583 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -746,28 +746,28 @@ int pci_bus_write_config_dword(struct pci_bus *bus, unsigned int devfn,
746 int where, u32 val); 746 int where, u32 val);
747struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops); 747struct pci_ops *pci_bus_set_ops(struct pci_bus *bus, struct pci_ops *ops);
748 748
749static inline int pci_read_config_byte(struct pci_dev *dev, int where, u8 *val) 749static inline int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val)
750{ 750{
751 return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val); 751 return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val);
752} 752}
753static inline int pci_read_config_word(struct pci_dev *dev, int where, u16 *val) 753static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
754{ 754{
755 return pci_bus_read_config_word(dev->bus, dev->devfn, where, val); 755 return pci_bus_read_config_word(dev->bus, dev->devfn, where, val);
756} 756}
757static inline int pci_read_config_dword(struct pci_dev *dev, int where, 757static inline int pci_read_config_dword(const struct pci_dev *dev, int where,
758 u32 *val) 758 u32 *val)
759{ 759{
760 return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val); 760 return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val);
761} 761}
762static inline int pci_write_config_byte(struct pci_dev *dev, int where, u8 val) 762static inline int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val)
763{ 763{
764 return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val); 764 return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val);
765} 765}
766static inline int pci_write_config_word(struct pci_dev *dev, int where, u16 val) 766static inline int pci_write_config_word(const struct pci_dev *dev, int where, u16 val)
767{ 767{
768 return pci_bus_write_config_word(dev->bus, dev->devfn, where, val); 768 return pci_bus_write_config_word(dev->bus, dev->devfn, where, val);
769} 769}
770static inline int pci_write_config_dword(struct pci_dev *dev, int where, 770static inline int pci_write_config_dword(const struct pci_dev *dev, int where,
771 u32 val) 771 u32 val)
772{ 772{
773 return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val); 773 return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val);
diff --git a/include/linux/security.h b/include/linux/security.h
index 83c18e8c846..c8949385e56 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -812,7 +812,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
812 * Check permissions before connecting or sending datagrams from @sock to 812 * Check permissions before connecting or sending datagrams from @sock to
813 * @other. 813 * @other.
814 * @sock contains the socket structure. 814 * @sock contains the socket structure.
815 * @sock contains the peer socket structure. 815 * @other contains the peer socket structure.
816 * Return 0 if permission is granted. 816 * Return 0 if permission is granted.
817 * 817 *
818 * The @unix_stream_connect and @unix_may_send hooks were necessary because 818 * The @unix_stream_connect and @unix_may_send hooks were necessary because
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index 995b8bf630a..a2b84f598e2 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -64,7 +64,7 @@ struct writeback_control {
64 long pages_skipped; /* Pages which were not written */ 64 long pages_skipped; /* Pages which were not written */
65 65
66 /* 66 /*
67 * For a_ops->writepages(): is start or end are non-zero then this is 67 * For a_ops->writepages(): if start or end are non-zero then this is
68 * a hint that the filesystem need only write out the pages inside that 68 * a hint that the filesystem need only write out the pages inside that
69 * byterange. The byte at `end' is included in the writeout request. 69 * byterange. The byte at `end' is included in the writeout request.
70 */ 70 */
diff --git a/include/trace/events/power.h b/include/trace/events/power.h
index 14b38940062..cae9a94f025 100644
--- a/include/trace/events/power.h
+++ b/include/trace/events/power.h
@@ -65,7 +65,6 @@ TRACE_EVENT(machine_suspend,
65 TP_printk("state=%lu", (unsigned long)__entry->state) 65 TP_printk("state=%lu", (unsigned long)__entry->state)
66); 66);
67 67
68/* This code will be removed after deprecation time exceeded (2.6.41) */
69#ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED 68#ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED
70 69
71/* 70/*