~ubuntu-branches/ubuntu/raring/linux-ti-omap4/raring-proposed

« back to all changes in this revision

Viewing changes to drivers/edac/edac_pci_sysfs.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Ubuntu: 3.5.0-26.42
  • Date: 2013-03-14 15:21:40 UTC
  • mfrom: (76.1.1 quantal-proposed)
  • Revision ID: package-import@ubuntu.com-20130314152140-tl4mkjmxa038tm3h
Tags: 3.5.0-221.31
* Release Tracking Bug
  - LP: #1153648

[ Paolo Pisati ]

* rebased on Ubuntu-3.5.0-26.42

[ Ubuntu: 3.5.0-26.42 ]

* Release Tracking Bug
  - LP: #1152715
* ubuntu: overlayfs -- fix missmerge of vfs_open changes
  - LP: #1122094, #1147678

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
        struct edac_pci_dev_attribute *edac_pci_dev;
258
258
        edac_pci_dev = (struct edac_pci_dev_attribute *)attr;
259
259
 
260
 
        if (edac_pci_dev->show)
 
260
        if (edac_pci_dev->store)
261
261
                return edac_pci_dev->store(edac_pci_dev->value, buffer, count);
262
262
        return -EIO;
263
263
}